695 B
695 B
Panopticon
👁️🗨️ It sees all.
Monitoring and observability stack.
Maintaining
Using spud, just spud start ./service.yml
!
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