Skip to content

feat: add Python Azure OpenAI instrumentation package#156

Open
louayboukhris wants to merge 1 commit intofuture-agi:mainfrom
louayboukhris:feat/python-azure-openai-integration
Open

feat: add Python Azure OpenAI instrumentation package#156
louayboukhris wants to merge 1 commit intofuture-agi:mainfrom
louayboukhris:feat/python-azure-openai-integration

Conversation

@louayboukhris
Copy link
Copy Markdown

@louayboukhris louayboukhris commented Apr 17, 2026

Add traceai-azure-openai package for tracing Azure OpenAI API calls. This brings Python parity with the existing Java Azure OpenAI integration.

  • AzureOpenAIInstrumentor for auto-instrumenting AzureOpenAI/AsyncAzureOpenAI clients
  • Azure-specific attributes: deployment name, API version, endpoint
  • Chat completions, embeddings, and completions tracing
  • Streaming and async support
  • Unit tests (7 tests) and usage examples

Pull Request

Description

tracing Azure OpenAI API calls

Add traceai-azure-openai package for tracing Azure OpenAI API calls.
This brings Python parity with the existing Java Azure OpenAI integration.

- AzureOpenAIInstrumentor for auto-instrumenting AzureOpenAI/AsyncAzureOpenAI clients
- Azure-specific attributes: deployment name, API version, endpoint
- Chat completions, embeddings, and completions tracing
- Streaming and async support
- Unit tests (7 tests) and usage examples
@louayboukhris louayboukhris marked this pull request as draft April 20, 2026 15:52
@louayboukhris louayboukhris marked this pull request as ready for review April 20, 2026 15:54
@nik13 nik13 added the enhancement New feature or request label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants