openlit 1.22.5__py3-none-any.whl → 1.24.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
openlit/otel/metrics.py CHANGED
@@ -34,7 +34,7 @@ def setup_meter(application_name, environment, meter, otlp_endpoint, otlp_header
34
34
  try:
35
35
  if meter is None and not METER_SET:
36
36
  # Create a resource with the service name attribute.
37
- resource = Resource(attributes={
37
+ resource = Resource.create(attributes={
38
38
  SERVICE_NAME: application_name,
39
39
  DEPLOYMENT_ENVIRONMENT: environment,
40
40
  TELEMETRY_SDK_NAME: "openlit"}
openlit/otel/tracing.py CHANGED
@@ -45,7 +45,7 @@ def setup_tracing(application_name, environment, tracer, otlp_endpoint, otlp_hea
45
45
 
46
46
  if not TRACER_SET:
47
47
  # Create a resource with the service name attribute.
48
- resource = Resource(attributes={
48
+ resource = Resource.create(attributes={
49
49
  SERVICE_NAME: application_name,
50
50
  DEPLOYMENT_ENVIRONMENT: environment,
51
51
  TELEMETRY_SDK_NAME: "openlit"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openlit
3
- Version: 1.22.5
3
+ Version: 1.24.0
4
4
  Summary: OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects
5
5
  Home-page: https://github.com/openlit/openlit/tree/main/openlit/python
6
6
  Keywords: OpenTelemetry,otel,otlp,llm,tracing,openai,anthropic,claude,cohere,llm monitoring,observability,monitoring,gpt,Generative AI,chatGPT,gpu
@@ -15,10 +15,10 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Dist: boto3 (>=1.34.0,<2.0.0)
16
16
  Requires-Dist: botocore (>=1.34.0,<2.0.0)
17
17
  Requires-Dist: gpustat (>=1.1.1,<2.0.0)
18
- Requires-Dist: opentelemetry-api (>=1.24.0,<2.0.0)
19
- Requires-Dist: opentelemetry-exporter-otlp (>=1.24.0,<2.0.0)
20
- Requires-Dist: opentelemetry-instrumentation (>=0.45b0,<0.46)
21
- Requires-Dist: opentelemetry-sdk (>=1.24.0,<2.0.0)
18
+ Requires-Dist: opentelemetry-api (>=1.27.0,<2.0.0)
19
+ Requires-Dist: opentelemetry-exporter-otlp (>=1.27.0,<2.0.0)
20
+ Requires-Dist: opentelemetry-instrumentation (>=0.48b0,<0.49)
21
+ Requires-Dist: opentelemetry-sdk (>=1.27.0,<2.0.0)
22
22
  Requires-Dist: requests (>=2.26.0,<3.0.0)
23
23
  Requires-Dist: schedule (>=1.2.2,<2.0.0)
24
24
  Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
@@ -56,10 +56,10 @@ openlit/instrumentation/vertexai/async_vertexai.py,sha256=8JwSwLPPA4lAatf4w_5kJ5
56
56
  openlit/instrumentation/vertexai/vertexai.py,sha256=R6dDQfC3YFoZDygxU2fkflcMsqIv8AVoU3XOwWSvpwA,54951
57
57
  openlit/instrumentation/vllm/__init__.py,sha256=OVWalQ1dXvip1DUsjUGaHX4J-2FrSp-T-qCVOfw7OZo,1495
58
58
  openlit/instrumentation/vllm/vllm.py,sha256=lDzM7F5pgxvh8nKL0dcKB4TD0Mc9wXOWeXOsOGN7Wd8,6527
59
- openlit/otel/metrics.py,sha256=O7NoaDz0bY19mqpE4-0PcKwEe-B-iJFRgOCaanAuZAc,4291
60
- openlit/otel/tracing.py,sha256=vL1ifMbARPBpqK--yXYsCM6y5dSu5LFIKqkhZXtYmUc,3712
59
+ openlit/otel/metrics.py,sha256=-PntPlH4xOBXgnDqgJp3iA7rh1TWxM7PudGnb0GxVDA,4298
60
+ openlit/otel/tracing.py,sha256=2kSj7n7uXSkRegcGFDC8IbnDOxqWTA8dGODs__Yn_yA,3719
61
61
  openlit/semcov/__init__.py,sha256=wpAarrnkndbgvP8VSudi8IRInYtD02hkewqjyiC0dMk,7614
62
- openlit-1.22.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
- openlit-1.22.5.dist-info/METADATA,sha256=wLjziD90EPGdF9m0tl6kFT2E0DI85qgeO0_w1b-lbPk,15710
64
- openlit-1.22.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
65
- openlit-1.22.5.dist-info/RECORD,,
62
+ openlit-1.24.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
+ openlit-1.24.0.dist-info/METADATA,sha256=eiafK3MGDjT_akKIdPqp88ipoyiFGPIfccO6Lc5xWSw,15710
64
+ openlit-1.24.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
65
+ openlit-1.24.0.dist-info/RECORD,,