« Previous 1 2 3
Grafana and Prometheus customized dashboards
Stand and Deliver
The End Is Nigh
Having the ability to customize each and every query along with the way that those queries are formatted and output visually is a powerful addition to any modern server estate. I would recommend having a look at hooking up the Kubernetes plugin and the MySQL plugin and configuring them to suit your needs. In this article, I have barely scratched the surface of either Prometheus or Grafana.
Although I have purposely tried to extol the virtues of Grafana's visualizations, I have left out the exceptionally sophisticated Prometheus to some extent. I would be remiss not to include at least one query, so Figure 9 shows, from http://localhost:9090 , the output from the CPU query:
process_cpu_seconds_total
The built-in queries available in the pull-down menu next to the blue Execute button are numerous and should offer enough interest to whet your appetite for more. With some effort, you can create a fully bespoke, comprehensive reporting and alerting system with these exceptional tools. I'll leave the rest to you.
Infos
- Grafana: https://grafana.com
- Prometheus: https://prometheus.io
- Grafana vs. Prometheus: https://wisdomplexus.com/blogs/grafana-vs-prometheus/amp/
- Time series: https://en.wikipedia.org/wiki/Time_series
- Grafana Docker image: https://grafana.com/docs/grafana/latest/installation/docker
- Transformations: https://grafana.com/docs/grafana/latest/panels/transformations
- Grafana plugins: https://grafana.com/grafana/plugins
- GitHub repository: https://github.com/grafana/grafana-starter-datasource
- Prometheus on Docker: https://prometheus.io/docs/prometheus/latest/installation
- Expression browser: https://prometheus.io/docs/prometheus/latest/querying/basics/
- Prometheus data sources: http://docs.grafana.org/datasources/prometheus
- Prometheus Stats JSON: https://grafana.com/grafana/dashboards/2
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)