opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

OpenAI v2 onboard onto semantic conventions 1.37.0: chat history and other breaking changes

Open lmolkova opened this issue 6 months ago • 3 comments

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)

lmolkova avatar Aug 27 '25 18:08 lmolkova

As a common package we have https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-genai

xrmx avatar Aug 27 '25 19:08 xrmx

thanks a lot, @xrmx!

lmolkova avatar Aug 27 '25 23:08 lmolkova

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

zhirafovod avatar Oct 28 '25 15:10 zhirafovod