DAPE.work

Prometheus: MySQL Query Metrics

Collect query performance and slow query stats from MySQL using Prometheus exporters.

Expected time saved: 4 hours/week

Complexity: Intermediate

Steps:

  1. 1 - Install mysqld_exporter
  2. 2 - Configure Prometheus scrape
  3. 3 - Create alerts
  4. 4 - Visualize queries

Tools:
Prometheus
MySQL

Example

docker run mysqld_exporter

Tags

prometheus mysql