Skip to content

Commit

Permalink
Adding openai python instrumentation (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirdavid1 authored Dec 29, 2024
1 parent 3a16982 commit 9318342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agents/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# index_url = 'http://host.docker.internal:8080/packages/odigos_opentelemetry_python-0.1.1-py3-none-any.whl'

install_requires = [
f"odigos-opentelemetry-python @ {index_url}" if index_url else "odigos-opentelemetry-python"
f"odigos-opentelemetry-python @ {index_url}" if index_url else "odigos-opentelemetry-python==1.0.22"
]

setup(
Expand Down
4 changes: 3 additions & 1 deletion docs/instrumentations/python/python.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ The following Python modules will be auto instrumented by Odigos:
### Other
- [`asyncio`](https://pypi.org/project/asyncio/)

### Loggers
### Gen AI
- [`openai`](https://pypi.org/project/openai/)

### Loggers
Automatic injection of trace context (trace id and span id) into log records for the following loggers:

- [`logging`](https://docs.python.org/3/library/logging.html)

0 comments on commit 9318342

Please sign in to comment.