prometheus on Scala Landhttps://www.scala.land/tags/prometheus/
Recent content in prometheus on Scala LandHugo -- gohugo.iofabio@serragnoli.com (Fabio Serragnoli)fabio@serragnoli.com (Fabio Serragnoli)Tue, 13 Jun 2017 00:00:00 +0000Automated Monitoring With Grafana and Prometheushttps://www.scala.land/post/fully-automated-app-monitoring/
Tue, 13 Jun 2017 00:00:00 +0000fabio@serragnoli.com (Fabio Serragnoli)https://www.scala.land/post/fully-automated-app-monitoring/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&rsquo;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 &#34;ENVIRONMENT=prod&#34; \ -e &#34;GF_SERVER_HTTP_PORT=6666&#34; \ -e &#34;WAITING_TIME=20&#34; \ -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.