level=ERROR messages in postgres_exporter.service status
What did you do? Checked postgres_exporter service status via command - systemctl status postgres_exporter.service
What did you expect to see? Output with no level=ERROR messages
What did you see instead? Under which circumstances? Multiple level=ERROR messages with the below message were found
msg="Error loading config" err="Error opening config file "postgres_exporter.yml": open postgres_exporter.yml: no such file or directory"
- System information:
Linux 5.14.0-427.42.1.el9_4.x86_64 x86_64
- postgres_exporter version:
postgres_exporter, version 0.16.0
- postgres_exporter flags:
/postgres_exporter --collector.stat_activity_autovacuum --collector.statio_user_indexes --auto-discover-databases
-
PostgreSQL version:
PostgreSQL 14.7
-
Logs: msg="Error loading config" err="Error opening config file "postgres_exporter.yml": open postgres_exporter.yml: no such file or directory"
Please help us with the reason of the error and way to solve it.
Did you have any postgres_exporter.yml file? cause it looks like the service is searching for one but cant find it. I have one created with this info Uploading ayuda.txt…