Skip to content

2024-02-28: OpenTelemetry instrumentation for OpenAI calls

Choose a tag to compare

@pamelafox pamelafox released this 28 Feb 23:25
· 388 commits to main since this release
840f639

The primary change in this release is the integration of the opentelemetry-instrumentation-openai package for tracing OpenAI calls. You should now see traces for all calls made by the OpenAI SDK in Azure Monitor.

We are still using the HTTPX instrumentation package as well, which should also trace the calls since OpenAI SDK uses HTTPX for HTTP calls behind the scenes, but they recently made a change that's resulting in inconsistent HTTPX tracing. You may sometimes see multiple traces for same call, one from the HTTPX instrumentor and one from the new OpenAI instrumentor.

What's Changed

Full Changelog: 2024-02-27...2024-02-28