14 lines
422 B
Markdown
14 lines
422 B
Markdown
# 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
|
|
```
|