In my last I was looking for a way to do performance monitoring and I stumbled upon Prometheus. Prometheus is much more than monitoring a single node service. Anyway let’s get the idea of gathering metrics using MySQL as example.
This how a simple configuration of Prometheus could look like:
global: scrape_interval: 1m scrape_timeout: 10s evaluation_interval: 1m scrape_configs: - job_name: mysql scheme: http target_groups: - targets: - '10.17.148.31:9104' labels: zone: mysql
Every minute Prometheus …[Read more...]