Skip to content

Commit 139f3e5

Browse files
gyliu513codefromthecryptshalevr
authored
Update doc for OpenAI Instrumentation to support OpenAI Compatible Platforms (#3279)
* Update doc for OpenAI Instrumentation to support DeepSeek * Update with Adrian's comments Co-authored-by: Adrian Cole <[email protected]> * rollback the blankspace remove --------- Co-authored-by: Adrian Cole <[email protected]> Co-authored-by: Shalev Roda <[email protected]>
1 parent b76119b commit 139f3e5

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Added
1515

16+
- `opentelemetry-instrumentation-openai-v2` Update doc for OpenAI Instrumentation to support OpenAI Compatible Platforms
17+
([#3279](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3279))
1618
- `opentelemetry-instrumentation-system-metrics` Add `process` metrics and deprecated `process.runtime` prefixed ones
1719
([#3250](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3250))
1820
- `opentelemetry-instrumentation-botocore` Add support for GenAI user events and lazy initialize tracer

instrumentation-genai/opentelemetry-instrumentation-openai-v2/README.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@ This library allows tracing LLM requests and logging of messages made by the
1010
`OpenAI Python API library <https://pypi.org/project/openai/>`_. It also captures
1111
the duration of the operations and the number of tokens used as metrics.
1212

13+
Many LLM platforms support the OpenAI SDK. This means systems such as the following are observable with this instrumentation when accessed using it:
14+
15+
.. list-table:: OpenAI Compatible Platforms
16+
:widths: 40 25
17+
:header-rows: 1
18+
19+
* - Name
20+
- gen_ai.system
21+
* - `Azure OpenAI <https://github.com/openai/openai-python?tab=readme-ov-file#microsoft-azure-openai>`_
22+
- ``az.ai.openai``
23+
* - `Gemini <https://developers.googleblog.com/en/gemini-is-now-accessible-from-the-openai-library/>`_
24+
- ``gemini``
25+
* - `Perplexity <https://docs.perplexity.ai/api-reference/chat-completions>`_
26+
- ``perplexity``
27+
* - `xAI <https://x.ai/api>`_ (Compatible with Anthropic)
28+
- ``xai``
29+
* - `DeepSeek <https://api-docs.deepseek.com/>`_
30+
- ``deepseek``
31+
* - `Groq <https://console.groq.com/docs/openai>`_
32+
- ``groq``
33+
* - `MistralAI <https://docs.mistral.ai/api/>`_
34+
- ``mistral_ai``
1335

1436
Installation
1537
------------

0 commit comments

Comments
 (0)