Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

[+] 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
@kmoppel-cognite kmoppel-cognite deleted the add-prerequisite-extensions-concept branch June 12, 2023 09:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants