Dummy Monitoring

Before connecting real model metrics, test the storage and dashboard path with synthetic values. Dummy monitoring isolates infrastructure problems from model and data problems.

Create and populate the table

The example creates a PostgreSQL database and a dummy_metrics table. Each iteration generates a timestamp, a numeric value, a UUID string, and a random float. It then inserts the row into PostgreSQL.

The script that generates dummy monitoring values

Connect with psycopg and use an explicit table schema. Confirm that the database exists and that the insert works before opening Grafana.

The database setup used by the dummy metrics script

Check the dashboard loop

Run the script at a fixed interval and look at the rows in the database. Configure Grafana with PostgreSQL as a data source. Build a panel over the timestamp column, then verify that new points appear without a manual refresh.

The repeated metric-generation loop

Once this path works, replace the synthetic values with Evidently results while keeping the database and dashboard connection stable.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.