How to Install and Uninstall prometheus-sql-exporter Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 11,2024

1. Install "prometheus-sql-exporter" package

Please follow the step by step instructions below to install prometheus-sql-exporter on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install prometheus-sql-exporter

2. Uninstall "prometheus-sql-exporter" package

This tutorial shows how to uninstall prometheus-sql-exporter on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove prometheus-sql-exporter $ sudo apt autoclean && sudo apt autoremove

3. Information about the prometheus-sql-exporter package on Ubuntu 21.10 (Impish Indri)

Package: prometheus-sql-exporter
Architecture: amd64
Version: 0.2.0.ds-6build2
Built-Using: golang-1.15 (= 1.15.4-1ubuntu1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cenkalti-backoff (= 3.1.1-1), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-denisenkom-go-mssqldb (= 0.0~git20170717.0.8fccfc8-5), golang-github-go-kit-kit (= 0.6.0-3), golang-github-go-logfmt-logfmt (= 0.3.0-1), golang-github-go-sql-driver-mysql (= 1.5.0-1), golang-github-go-stack-stack (= 1.8.0-1), golang-github-jmoiron-sqlx (= 1.1+git20160206.61.398dd58-2), golang-github-lib-pq (= 1.3.0-1), golang-github-prometheus-client-golang (= 1.7.1-1), golang-github-prometheus-client-model (= 0.2.0-1), golang-github-prometheus-common (= 0.14.0-2), golang-go.crypto (= 1:0.0~git20200604.70a84ac-2), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-sys (= 0.0~git20201101.da20708-1), golang-goprotobuf (= 1.3.4-2), golang-procfs (= 0.1.3-3), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.3.0-1)
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9572
Depends: postgresql-common, libc6 (>= 2.32)
Filename: pool/universe/p/prometheus-sql-exporter/prometheus-sql-exporter_0.2.0.ds-6build2_amd64.deb
Size: 2737136
MD5sum: cc57995b4ab5669df5bf331fb850491f
SHA1: 17c5962990f9a139e8f095dd07758a76be283423
SHA256: ff3cadfca91366284fb51c6076135549eb987ba6e23c5b534066c588f624372e
SHA512: a7d4a57f0ce4c165755ba2adcfb5455f28c20c2c4a327fb7d1b23322a7c20144bcd71eec87659fdedab577fcf9e77adc70b8f229f1be510ee532d304808bf0c9
Homepage: https://github.com/credativ/sql_exporter
Description-en: 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.
Description-md5: 9263de1244ec588d0b84cd1488f1ffc4