panopticon/README.md

15 lines
422 B
Markdown
Raw Normal View History

2024-05-31 03:53:46 +00:00
# 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
```