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

You Might Also Like
Relax: PRTG Monitors Your IT for You Icon
Relax: PRTG Monitors Your IT for You

Stay in control and avoid IT headaches. PRTG monitors your network, devices, and apps - receive alerts when it matters most.

You’re the go-to IT person, always putting out fires and keeping things running. With PRTG, you get reliable alerts to monitor your entire IT infrastructure, without the noise. Our intuitive setup gives you a clear overview of your network, devices, and applications in real time. Get instant alerts only when something needs your attention, whether you’re at your desk or on the move. Spend less time worrying about outages and more time focusing on what matters. Set up PRTG once and let it work for you - PRTG has you covered.
Start Your Free PRTG Trial Now
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