panopticon/README.md

422 B

Panopticon

Onboarding databases

Add the following to the pod in which the database runs. Port 9187 is exposed by default by the exporter and should be mapped.

The port and exporter address should be included in prometheus.yml.

podman run -d \
  -e DATA_SOURCE_NAME="postgresql://<user>:<pwd>@<host>:<port>/postgres?sslmode=disable" \
  --pod <pod-name> \
  quay.io/prometheuscommunity/postgres-exporter