Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

level=ERROR messages in postgres_exporter.service status #1109

Open
4PRawal opened this issue Jan 2, 2025 · 1 comment
Open

level=ERROR messages in postgres_exporter.service status #1109

4PRawal opened this issue Jan 2, 2025 · 1 comment

Comments

@4PRawal
Copy link

4PRawal commented Jan 2, 2025

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.

@Muti9289
Copy link

Muti9289 commented Jan 9, 2025

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…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants