Sign inSign up

burningalchemist/sql_exporter

By burningalchemist

Updated 21 days ago

Database agnostic SQL exporter for Prometheus (fork)

Image
Developer tools
Databases & storage
Monitoring & observability
6

1M+

burningalchemist/sql_exporter repository overview

SQL Exporter for Prometheus

Go Go Report Card Docker Pulls Downloads Artifact HUB

Overview

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 the following databases and compatible interfaces:

  • MySQL
  • PostgreSQL
  • Microsoft SQL Server
  • Oracle Database
  • Clickhouse
  • Snowflake
  • Vertica

In fact, 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.

Per the Prometheus philosophy, scrapes are synchronous (metrics are collected on every /metrics poll) but, in order to keep load at reasonable levels, minimum collection intervals may optionally be set per collector, producing cached metrics when queried more frequently than the configured interval.

Credits

This is a permanent fork of Database agnostic SQL exporter for Prometheus created by @free.

Tag summary

Content type

Image

Digest

sha256:2586aa37f

Size

28.1 MB

Last updated

21 days ago

docker pull burningalchemist/sql_exporter