OpenAI v2 onboard onto semantic conventions 1.37.0: chat history and other breaking changes
Implements new semconv 1.37.0 behind OTEL_SEMCONV_STABILITY_OPT_IN = gen_ai_latest_experimental opt-in.
TODOs:
- [ ] support custom metric attributes in genai-util lib - see https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4069 (blocked on it)
As a common package we have https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-genai
thanks a lot, @xrmx!
As a common package we have https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-genai
@xrmx , I would propose we merge this one before the common library is ready. It will provide testing needed to switch to the new library.
Also, please review the PRs which are pre-requirement to switching to the util library. https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3862 https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3891