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

to deal with first label in metric #756

Merged
merged 2 commits into from
Aug 30, 2024
Merged

to deal with first label in metric #756

merged 2 commits into from
Aug 30, 2024

Conversation

maaikelimper
Copy link
Collaborator

@maaikelimper maaikelimper commented Aug 30, 2024

When monitoring the increase of a metric using prometheus-query, the first entry for a label is not detected since increase() can only detect the difference between 2-scrapes. This is a minor issue that only affects the first time a label is created but it is a bit confusing for training when we always start with a brand new instance.

This PR fixes this by waiting 5 seconds (scrape interval) for a new label-entry in a metric.

@maaikelimper maaikelimper added this to the sprint-016 milestone Aug 30, 2024
@tomkralidis tomkralidis added the bug Something isn't working label Aug 30, 2024
@tomkralidis tomkralidis merged commit f1085cd into main Aug 30, 2024
3 checks passed
@tomkralidis tomkralidis deleted the deal-with-first-label branch August 30, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants