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

Fix Prometheus queries after adding Per Orchestrator metrics #151

Closed
leszko opened this issue May 24, 2022 · 0 comments · Fixed by #152
Closed

Fix Prometheus queries after adding Per Orchestrator metrics #151

leszko opened this issue May 24, 2022 · 0 comments · Fixed by #152
Assignees

Comments

@leszko
Copy link
Contributor

leszko commented May 24, 2022

In livepeer/go-livepeer#2371 we tagged 3 metrics with the orchestrator address and service URI labels. This change may not be backwards-compatible for some queries we use. In particular, it's an issue for this query we use to get average round trip time:

rate(livepeer_transcode_overall_latency_seconds_sum[1m])/rate(livepeer_transcode_overall_latency_seconds_count[1m])

Since we get always the first entry in from the query, it resulted in the bug that not every stream has latency equal to zero.

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 a pull request may close this issue.

1 participant