👁️‍🗨️ It sees all. https://panopticon.karnov.club
Find a file
2024-05-31 23:50:43 -04:00
prometheus.yml feat: set retention period, more frequent scraping, data volumes 2024-05-31 23:50:43 -04:00
README.md docs: add mysqld onboarding snippet 2024-05-31 00:52:14 -04:00
start.sh feat: set retention period, more frequent scraping, data volumes 2024-05-31 23:50:43 -04:00
stop.sh feat: set retention period, more frequent scraping, data volumes 2024-05-31 23:50:43 -04:00

Panopticon

👁️‍🗨️ It sees all.

Monitoring and observability stack.

Onboarding databases

Add the following to the pod in which the database runs.

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

MySQL/MariaDB

podman run -d \
  --pod <pod-name> \
  --replace \
  prom/mysqld-exporter \
  --config.my-cnf=<configuration-file-path>

Postgresql

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