Install prometheus-sql-exporter by entering the following commands in the terminal:
sudo apt update sudo apt install prometheus-sql-exporter
Description:
Flexible SQL Exporter for Prometheus
This Prometheus exporter extracts various metrics from PostgreSQL, MySQL, and MSSQL databases. The metrics are configurable via a YAML file.
Homepage: https://github.com/credativ/sql_exporter
Version: 0.2.0.ds-3
Section: universe/database