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.
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:
/var/snap/query-exporter/current/config.yaml
with the
configurationsudo snap restart query-exporter
Currently supported databases are:
postgresql://
)mysql://
)sqlite://
)mssql://
)db2://
) on supported architectures (x86_64, ppc64le and
s390x)Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.