Open reslavath opened 3 years ago
Are you running with the auto discover databases turned on? If so could be related to #429
after removing "--auto-discover-databases " in POSTGRES_EXPORTER_OPTS I don't see any errors. . thanks for the help.
root@hostname[DEV][tmp] # cat /usr/lib/systemd/system/postgres_exporter.service
# -*- mode: conf -*-
[Unit]
Description=Prometheus exporter for PostgreSQL server metrics.
Documentation=https://github.com/wrouesnel/postgres_exporter
After=network.target
[Service]
EnvironmentFile=/etc/default/postgres_exporter
ExecStart=/usr/bin/postgres_exporter $POSTGRES_EXPORTER_OPTS
Restart=on-failure
[Install]
WantedBy=multi-user.target
root@hostname[DEV][tmp] # cat /etc/default/postgres_exporter
POSTGRES_EXPORTER_OPTS=" --exclude-databases=template0,template1 --web.listen-address=0.0.0.0:9187 --extend.query-path=/etc/postgres_exporter/queries.yml --log.level=debug"
DATA_SOURCE_NAME="postgresql://mon_user@10.11.12.13:6524/postgres?sslmode=disable"
root@hostname[DEV][tmp] #
Seems related to: https://github.com/prometheus-community/postgres_exporter/issues/706
Hello everyone,
I'm currently seeing below error in my VM. Can someone please help me out.
postgres_exporter package : postgres_exporter_v0.8.0_linux-amd64 OS : Red Hat Enterprise Linux release 8.3 (Ootpa) PostgreSQL_version : PostgreSQL 12.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit PostgreSQL_user_privilege : SUPER USER
redacted the IP