## Automated Monitoring With Grafana and Prometheus

### In this article, I would like to explain a Docker image that I created to keep Grafana dashboards in sync across environments.

Depending on the number of environments in which you have monitoring enabled, it may be cumbersome to keep all your Grafana dashboards synchronized across environments when changes occur. In this article, I would like to show a Docker image I created to keep Grafana dashboards in sync across environments. What’s in the Image Prometheus. Grafana. Supervisor. How to Use It With all options: docker run --name automated-grafana -d -p 9090:9090 -p 6666:6666 \ -e "ENVIRONMENT=prod" \ -e "GF_SERVER_HTTP_PORT=6666" \ -e "WAITING_TIME=20" \ -v pwd/prometheus-config:/prometheus-config \ -v pwd/dashboards:/dashboards \ -v pwd/users:/users \ -v pwd/sources:/sources \ serragnoli/automated-grafana-prometheus -p 9090:9090: Exposes the Prometheus default port to the host. [Read More]