Using DB queries as Prometheus metrics Monitoring large migrations can be tough. But, with query-exporter, we were able to export custom queries as Prometheus metrics to feed a Grafana dashboard. Here's how we did it!