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
Ditto Edge Server is a lightweight standalone server for resource-constrained edge environments, based on the core Ditto Edge SDK. Icon
Ditto Edge Server is a lightweight standalone server for resource-constrained edge environments, based on the core Ditto Edge SDK.

With Ditto Edge Server, you can join devices as small as a Raspberry Pi to a local mesh network and synchronize data across edge environments.

Ditto's Edge SDK is the only thing your edge devices need to ensure your application is operational in any environment, regardless of network conditions.
Learn More
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