-
Notifications
You must be signed in to change notification settings - Fork 675
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
🚀 Feature: Associating Entities with Metrics #2188
Comments
Thanks @nitin302! We were also looking into this. The main blocker is that there isn't a similar |
Thanks for your quick reply! I also think there is no straightforward way other than changing all instrumentations. But nevertheless chatgpt suggests monkey patching which might be suitable? I also think the risk of change in behaviour of OpenTelemetry metric might be very low as it is in "Stable" status.
|
Interesting solution! I opened an issue for otel, let's see first what they respond: |
Which component is this feature for?
LangChain Azure OpenAI Instrumentation, But ideally for all component.
🔖 Feature description
Similar to what we are doing for https://www.traceloop.com/docs/openllmetry/tracing/association, can we also set this to metrics? This will help understand LLM metrics better per entity that we want to track.
Particularly, I am interesting in Langchain metrics with Azure OpenAI.
🎤 Why is this feature needed ?
Helps associate Entities with Metrics which is useful to drill down metrics by Entity.
✌️ How do you aim to achieve this?
When we call Traceloop.set_association_properties we can propagate these to metric attributes as well along with traces.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: