-
Notifications
You must be signed in to change notification settings - Fork 175
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
Per Orchestrator metrics in Broadcaster #2371
Comments
Would it make sense to add labels (i.e. an orchestrator label) for the existing metrics instead of having separate metrics with the |
I think we could do it that way. I actually tried to followed the pattern we have for
@tqian1 do you see any drawbacks of just adding a label to existing metrics instead of creating new ones? Also do you maybe know why we added new ones for |
I've added the requested metrics in census. The approach was to create the metric and insert a tag with key |
According to the implementation of |
Sorry for delay here folks: For context (and to clarify confusion), the reason we have independent metrics suffixed with For metrics like This is not necessary for orchestrator metrics because the starting cardinality of |
@red-0ne Great approach and in-line with the existing pattern, I just realized we never merged this PR on our side - hope you were able to have a look at the pattern there: #2313
AFAICT it is possible to get
Correct, if you tag the URI in |
Ok, then my bad in the GH Issue Description. Let's not use the
|
As discussed with @yondonfu , orchestrator's address seems to be more indicative of O, but raised the case of orchestrators running in off-chain mode. We could consider some conditional behavior to log with the appropriate tag. But think we should keep it simple as of the scope of the issue and tagging addresses or URIs only, each one with its trade-offs. I propose to keep orchURI as the tag used for O specific metrics for now. This would make us lose track of an O's metrics if it changes its URI but I think it's fine for now. WDYT? |
To me it seems that Service URI could be "good enough". I know that O Eth Addr is "less prone to change", but still I believe Os don't change their Service URI too often. @yondonfu what do you think? |
I think using the service URI for now is okay for now and we can consider using the ETH address as the tag separately. |
Based on #2386 I think tagging these metrics with the O's ETH address as well would be helpful because:
If we only tag the metrics with the URI, then we'll be able to group the metrics by URI, but due to the above points we may not have an exact mapping of metrics to stable O identifiers. If we tag the metrics with the ETH address then I think we should be able to group the metrics by ETH address which would provide an exact mapping of metrics to stable O identifiers. @red-0ne @leszko Would it be possible to also tag metrics for this issue with the ETH address? |
I opt for tagging them both too. We could always filter with nullish values to get chainless Os |
Is your feature request related to a problem? Please describe.
Currently, Livepeer Broadcaster doesn't export any metrics tagged per Orchestrator. This would be useful, for example, in test streams monitoring.
Describe the solution you'd like
Add per Orchestrator metrics recorded by Broadcaster:
transcode_overall_latency_seconds_per_orchestrator
segment_transcoded_all_appeared_total_per_orchestrator
segment_transcoded_unprocessed_total_per_orchestrator
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: