6.4. ML monitoring with Evidently and Grafana [OPTIONAL CODE PRACTICE]
A code example walkthrough of adding ML monitoring metrics to Grafana using Evidently as an evaluation layer.
Last updated
A code example walkthrough of adding ML monitoring metrics to Grafana using Evidently as an evaluation layer.
Last updated
Video 4. , by Emeli Dral
In this video, we show how to add ML monitoring metrics to the Grafana dashboard using Evidently as an evaluation layer and storing the metrics in a Postgres database.
Want to go straight to code? Here is the to follow along.
Outline: Introduction Install Grafana and set up the Postgres database Script overview, imports, and logging Create a table statement Load data and simulate production usage Connect to a database and create a table Calculate metrics and insert them into Postgres Write a function to compute metrics in batches Run services, execute and debug the script Create dashboards in Grafana