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

[+] add "prerequisite extensions" support for metric definitions #643

Merged
merged 1 commit into from Jun 12, 2023

Conversation

kmoppel-cognite
Copy link
Collaborator

To reduce regular errors in server logs of monitored DBs. That is - we don't even try to query the DB if we know that some prerequisite is missing and it would error anyways. In the pgwatch2 logs the errors got reduced already to 1x per 10min, but increase that to 1h also for this case.

For now only for pg_stat_statements as that's by far the most common one in use.

To reduce regular errors in server logs of monitored DBs. That is - we
don't even try to query the DB if we know that some prerequisite is missing
and it would error anyways. In the pgwatch2 logs the errors got reduced already
to 1x per 10min, but increase that to 1h also for this case.

For now only for pg_stat_statements as that's by far the most common one
in use.
@pashagolub pashagolub changed the title Add "prerequisite extensions" support for metric definitions [+] add "prerequisite extensions" support for metric definitions May 31, 2023
@kmoppel-cognite kmoppel-cognite merged commit 7803aa6 into master Jun 12, 2023
2 checks passed
@kmoppel-cognite kmoppel-cognite deleted the add-prerequisite-extensions-concept branch June 12, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants