🚀 Feature: Emit OTel Log Events following GenAI semconv for LangChain
Which component is this feature for?
Langchain Instrumentation
🔖 Feature description
Hello 👋 The latest OTel Gen AI semantic conventions put prompt content into OTel Log Events instead of Span attributes/events. In particular, it would be great to see this for LangChain/LangGraph instrumentations.
🎤 Why is this feature needed ?
So telemetry matches the current OTel semantic conventions
✌️ How do you aim to achieve this?
I haven't been joining the GenAI Semconv WG meetings and don't know the current plan. If the plan is to move instrumentation into OTel, I can work on that and implement it in OTel repos.
Otherwise, I can send PRs here.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
There is https://github.com/traceloop/openllmetry/issues/1455 but it doesn't mention log events specifically
- [X] I checked and didn't find similar issue
Are you willing to submit PR?
Yes I am willing to submit a PR!
Thanks @aabmass! We definitely want to do that and we'd love any assistance here :)
Will be fixed as part of #2456
@nirga I think we can close this as well, right?