PostgreSQL Server Exporter

Prometheus exporter for PostgreSQL server metrics.

https://github.com/prometheus-community/postgres_exporter

CI Tested PostgreSQL versions: 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15

快速开始

This package is available for Docker:

# Start an example database
docker run --net=host -it --rm -e POSTGRES_PASSWORD=password postgres
# Connect to it
docker run \
  --net=host \
  -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/postgres?sslmode=disable" \
  quay.io/prometheuscommunity/postgres-exporter

This dashboard works with postgres_exporter for prometheus

Requires Prometheus PostgreSQL exporter metrics. See: wrouesnel/postgres_exporter

作者:Jeebiz  创建时间:2023-02-21 22:48
最后编辑:Jeebiz  更新时间:2024-01-24 21:48