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

Improve marker file current time metrics. #3946

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

cyriltovena
Copy link
Contributor

Currently we'll keep the last recorded time, but if the marker file doesn't exist anymore we should reset it.
This would allow us to build consistent alert based on marker files that are too far behind.

Signed-off-by: Cyril Tovena cyril.tovena@gmail.com

Currently we'll keep the last recorded time, but if the marker file doesn't exist anymore we should reset it.
This would allow us to build consistent alert based on marker files that are too far behind.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@cyriltovena cyriltovena merged commit 5be93e0 into grafana:main Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants