SQL Exporter is a configuration-driven exporter that exposes metrics gathered from DBMSs, for use by the Prometheus monitoring system. Out of the box, it provides support for MySQL, PostgreSQL, Microsoft SQL Server, and Clickhouse, but any DBMS for which a Go driver is available may be monitored after rebuilding the binary with the DBMS driver included. The collected metrics and the queries that produce them are entirely configuration-defined. SQL queries are grouped into collectors -- logical groups of queries, e.g., query stats or I/O stats, mapped to the metrics they populate. Collectors may be DBMS-specific (e.g,. MySQL InnoDB stats) or custom, deployment-specific (e.g., pricing data freshness). This means you can quickly and easily set up custom collectors to measure data quality, whatever that might mean in your specific case.

Features

  • SQL Exporter is deployed alongside the DB server it collects metrics from
  • Collectors may be defined inline, in the exporter configuration file
  • Examples available
  • The collected metrics and the queries that produce them are entirely configuration defined
  • Out of the box, it provides support for MySQL, PostgreSQL, Microsoft SQL Server
  • Get Prometheus SQL Exporter, either as a packaged release, as a Docker image or build it yourself

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow SQL Exporter

SQL Exporter Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SQL Exporter!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Database Software

Registered

2025-06-18