How to Install and Uninstall prometheus-sql-exporter Package on Ubuntu 22.10 (Kinetic Kudu)
Last updated: November 07,2024
1. Install "prometheus-sql-exporter" package
This guide covers the steps necessary to install prometheus-sql-exporter on Ubuntu 22.10 (Kinetic Kudu)
$
sudo apt update
Copied
$
sudo apt install
prometheus-sql-exporter
Copied
2. Uninstall "prometheus-sql-exporter" package
This tutorial shows how to uninstall prometheus-sql-exporter on Ubuntu 22.10 (Kinetic Kudu):
$
sudo apt remove
prometheus-sql-exporter
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the prometheus-sql-exporter package on Ubuntu 22.10 (Kinetic Kudu)
Package: prometheus-sql-exporter
Architecture: amd64
Version: 0.4.4-1
Built-Using: golang-1.18 (= 1.18.2-2ubuntu1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cenkalti-backoff (= 4.1.0-2), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-denisenkom-go-mssqldb (= 0.0~git20170717.0.8fccfc8-6), golang-github-go-kit-log (= 0.2.0-3), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-go-sql-driver-mysql (= 1.5.0-1), golang-github-jmoiron-sqlx (= 1.3.5-1), golang-github-lib-pq (= 1.5.2-1), golang-github-prometheus-client-golang (= 1.11.1-1), golang-github-prometheus-client-model (= 0.2.0-3), golang-github-prometheus-common (= 0.32.1-5ubuntu1), golang-github-prometheus-procfs (= 0.7.3-2), golang-github-robfig-cron (= 3.0.1-1), golang-go.crypto (= 1:0.0~git20220315.3147a52-1), golang-golang-x-net (= 1:0.0+git20220225.27dd868+dfsg-1), golang-golang-x-sys (= 0.0~git20220422.9388b58-1), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-2)
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9230
Depends: postgresql-common, libc6 (>= 2.34)
Filename: pool/universe/p/prometheus-sql-exporter/prometheus-sql-exporter_0.4.4-1_amd64.deb
Size: 3104544
MD5sum: 0979579cbc66b6347892c5d0a5fa1d8d
SHA1: be22f518009e7852b06e1ee6c85463076da52c11
SHA256: 1f4a0476c7fde08609148fc4c7488a9848b8dbc8e6ca41a98f7c4ab6436bb0bf
SHA512: 49b4f218afc82e1efc6448921cfa12cef109d10cb0d3bc403493ac3d31b870495f0f6b4aa521306104bf62cb7d9c85c4e90b76ea35ceced5284b867345f30fd0
Homepage: https://github.com/justwatchcom/sql_exporter
Description: Flexible SQL Exporter for Prometheus
Description-md5: 9263de1244ec588d0b84cd1488f1ffc4
Architecture: amd64
Version: 0.4.4-1
Built-Using: golang-1.18 (= 1.18.2-2ubuntu1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cenkalti-backoff (= 4.1.0-2), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-denisenkom-go-mssqldb (= 0.0~git20170717.0.8fccfc8-6), golang-github-go-kit-log (= 0.2.0-3), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-go-sql-driver-mysql (= 1.5.0-1), golang-github-jmoiron-sqlx (= 1.3.5-1), golang-github-lib-pq (= 1.5.2-1), golang-github-prometheus-client-golang (= 1.11.1-1), golang-github-prometheus-client-model (= 0.2.0-3), golang-github-prometheus-common (= 0.32.1-5ubuntu1), golang-github-prometheus-procfs (= 0.7.3-2), golang-github-robfig-cron (= 3.0.1-1), golang-go.crypto (= 1:0.0~git20220315.3147a52-1), golang-golang-x-net (= 1:0.0+git20220225.27dd868+dfsg-1), golang-golang-x-sys (= 0.0~git20220422.9388b58-1), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-2)
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9230
Depends: postgresql-common, libc6 (>= 2.34)
Filename: pool/universe/p/prometheus-sql-exporter/prometheus-sql-exporter_0.4.4-1_amd64.deb
Size: 3104544
MD5sum: 0979579cbc66b6347892c5d0a5fa1d8d
SHA1: be22f518009e7852b06e1ee6c85463076da52c11
SHA256: 1f4a0476c7fde08609148fc4c7488a9848b8dbc8e6ca41a98f7c4ab6436bb0bf
SHA512: 49b4f218afc82e1efc6448921cfa12cef109d10cb0d3bc403493ac3d31b870495f0f6b4aa521306104bf62cb7d9c85c4e90b76ea35ceced5284b867345f30fd0
Homepage: https://github.com/justwatchcom/sql_exporter
Description: Flexible SQL Exporter for Prometheus
Description-md5: 9263de1244ec588d0b84cd1488f1ffc4