-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ruler: prometheus_rule_group_last_duration_seconds is not working. #1027
Comments
In prometheus 2.7.1, this metric used seconds instead of nanoseconds. func (g *Group) setEvaluationDuration(dur time.Duration) {
g.metrics.groupLastDuration.WithLabelValues(groupKey(g.file, g.name)).Set(float64(dur))
g.mtx.Lock()
defer g.mtx.Unlock()
g.evaluationDuration = dur
} |
Wow, thanks for this, that might be it. But still it's bit off |
Was this fixed after the library has been updated? 😄 |
Is this issue fixed now? |
Using master, I see that |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I can see the values out of the world totally. Is it even updated? Let's fix this.
The text was updated successfully, but these errors were encountered: