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

ignore orphaned counters #19

Merged
merged 1 commit into from
Apr 25, 2024
Merged

ignore orphaned counters #19

merged 1 commit into from
Apr 25, 2024

Conversation

furiel
Copy link
Contributor

@furiel furiel commented Apr 25, 2024

The purpose of this module is to expose metrics for prometheus. As such, we are building time series from the counters. This means we should not expose metrics that do not exist anymore: configured out from syslog-ng and reloaded. This patch filters out orphan counters.

The purpose of this module is to expose metrics for prometheus. As
such, we are building time series from the counters. This means we
should not expose metrics that do not exist anymore: configured out
from syslog-ng and reloaded. This patch filters out orphan counters.

Signed-off-by: Antal Nemes <[email protected]>
@furiel furiel merged commit 83879ef into main Apr 25, 2024
3 checks passed
@furiel furiel deleted the orphan-counter branch April 25, 2024 11:55
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

Successfully merging this pull request may close these issues.

3 participants