Skip to content

Commit

Permalink
enhance build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alizenhom committed Sep 27, 2024
1 parent 3d5a2b3 commit b583aa0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `opentelemetry-instrumentation-openai` Instrumentation for OpenAI >= 0.27.0
([#2759](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2759))

## Unreleased

### Added

- `opentelemetry-instrumentation-fastapi` Add autoinstrumentation mechanism tests.
Expand Down
1 change: 1 addition & 0 deletions eachdist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ packages=
opentelemetry-resource-detector-azure
opentelemetry-sdk-extension-aws
opentelemetry-propagator-aws-xray
opentelemetry-instrumentation-openai

[lintroots]
extraroots=examples/*,scripts/
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
| [opentelemetry-instrumentation-logging](./opentelemetry-instrumentation-logging) | logging | No | experimental
| [opentelemetry-instrumentation-mysql](./opentelemetry-instrumentation-mysql) | mysql-connector-python >= 8.0, < 10.0 | No | experimental
| [opentelemetry-instrumentation-mysqlclient](./opentelemetry-instrumentation-mysqlclient) | mysqlclient < 3 | No | experimental
| [opentelemetry-instrumentation-openai](./opentelemetry-instrumentation-openai) | openai >= 0.27.0 | No | experimental
| [opentelemetry-instrumentation-openai](./opentelemetry-instrumentation-openai-v2) | openai >= 0.27.0 | No | experimental
| [opentelemetry-instrumentation-pika](./opentelemetry-instrumentation-pika) | pika >= 0.12.0 | No | experimental
| [opentelemetry-instrumentation-psycopg](./opentelemetry-instrumentation-psycopg) | psycopg >= 3.1.0 | No | experimental
| [opentelemetry-instrumentation-psycopg2](./opentelemetry-instrumentation-psycopg2) | psycopg2 >= 2.7.3.1 | No | experimental
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ OpenTelemetry OpenAI Instrumentation

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-openai.svg
:target: https://pypi.org/project/opentelemetry-instrumentation-openai/
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-openai-v2.svg
:target: https://pypi.org/project/opentelemetry-instrumentation-openai-v2/

Instrumentation with OpenAI that supports the openai library and is
specified to trace_integration using 'OpenAI'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "opentelemetry-instrumentation-openai-v2"
dynamic = ["version"]
description = "OpenTelemetry OpenAI instrumentation"
description = "OpenTelemetry Official OpenAI instrumentation"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.8"
Expand All @@ -26,8 +26,8 @@ classifiers = [
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.48b0.dev",
"opentelemetry-semantic-conventions == 0.48b0.dev"
"opentelemetry-instrumentation ~= 0.48b0",
"opentelemetry-semantic-conventions ~= 0.48b0"

]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _instrument(self, **kwargs):
__name__,
"",
tracer_provider,
schema_url=Schemas.V1_27_0,
schema_url=Schemas.V1_27_0.value,
)
wrap_function_wrapper(
module="openai.resources.chat.completions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.49b0.dev"
__version__ = "2.0.0.dev"

0 comments on commit b583aa0

Please sign in to comment.