query-exporter

query-exporter

Alberto Donato (ack) Publisher Star developer Star developer

Install latest/stable of query-exporter

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install query-exporter

Don't have snapd? Get set up for snaps.

Channel Version Published

Export Prometheus metrics from SQL queries

query-exporter is a Prometheus exporter which allows collecting metrics from database queries, at specified time intervals or when a request to the metrics endpoint is performed.

Each query can be run on multiple databases, and update multiple metrics.

The snap provides both the query-exporter command and a deamon instance of the command, managed via a Systemd service. To run the latter:

  • create or edit /var/snap/query-exporter/current/config.yaml with the configuration
  • run sudo snap restart query-exporter

Currently supported databases are:

  • PostgreSQL (postgresql://)
  • MySQL (mysql://)
  • SQLite (sqlite://)
  • Microsoft SQL Server (mssql://)
  • IBM DB2 (db2://) on supported architectures (x86_64, ppc64le and s390x)

Details for query-exporter

License
  • GPL-3.0+

Last updated
  • 20 November 2024 - latest/stable
  • 20 November 2024 - latest/edge

Websites

Contact

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install query-exporter on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using query-exporter

Users by distribution (log)

ol 8.10
CentOS 7
Debian 11
Ubuntu 22.04
ol 8.9
Ubuntu 24.04
Ubuntu 20.04
Ubuntu 18.04
ol 8.8
Ubuntu 16.04