Skip to content

Monitoring Metrics

To enable the Prometheus monitoring and alerting service to access Fogbed metrics, set metrics_enabled=True in the experiment class:

from fogbed import Container, FogbedExperiment

exp = FogbedExperiment(metrics_enabled=True)

...
from fogbed import Container, FogbedDistributedExperiment

exp = FogbedDistributedExperiment(metrics_enabled=True)

...

Fogbed uses Grafana to visualize and CAdvisor to collect data from all running workers. After the experiment starts you can access the Grafana Dashboard through the URL: http://localhost:3000/d/fogbed/docker-monitoring.

dashboard

The default username and password are admin and admin123.