opentelemetry-instrumentation-vertexai 0.16.9__py3-none-any.whl → 0.17.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.

Potentially problematic release.


This version of opentelemetry-instrumentation-vertexai might be problematic. Click here for more details.

@@ -129,11 +129,11 @@ def _set_input_attributes(span, args, kwargs):
129
129
  _set_span_attribute(
130
130
  span, f"{SpanAttributes.LLM_PROMPTS}.0.user", kwargs.get("prompt")
131
131
  )
132
- _set_span_attribute(span, SpanAttributes.LLM_TEMPERATURE, kwargs.get("temperature"))
132
+ _set_span_attribute(span, SpanAttributes.LLM_REQUEST_TEMPERATURE, kwargs.get("temperature"))
133
133
  _set_span_attribute(
134
134
  span, SpanAttributes.LLM_REQUEST_MAX_TOKENS, kwargs.get("max_output_tokens")
135
135
  )
136
- _set_span_attribute(span, SpanAttributes.LLM_TOP_P, kwargs.get("top_p"))
136
+ _set_span_attribute(span, SpanAttributes.LLM_REQUEST_TOP_P, kwargs.get("top_p"))
137
137
  _set_span_attribute(span, SpanAttributes.LLM_TOP_K, kwargs.get("top_k"))
138
138
  _set_span_attribute(
139
139
  span, SpanAttributes.LLM_PRESENCE_PENALTY, kwargs.get("presence_penalty")
@@ -268,7 +268,7 @@ async def _awrap(tracer, to_wrap, wrapped, instance, args, kwargs):
268
268
  name,
269
269
  kind=SpanKind.CLIENT,
270
270
  attributes={
271
- SpanAttributes.LLM_VENDOR: "VertexAI",
271
+ SpanAttributes.LLM_SYSTEM: "VertexAI",
272
272
  SpanAttributes.LLM_REQUEST_TYPE: LLMRequestTypeValues.COMPLETION.value,
273
273
  },
274
274
  )
@@ -313,7 +313,7 @@ def _wrap(tracer, to_wrap, wrapped, instance, args, kwargs):
313
313
  name,
314
314
  kind=SpanKind.CLIENT,
315
315
  attributes={
316
- SpanAttributes.LLM_VENDOR: "VertexAI",
316
+ SpanAttributes.LLM_SYSTEM: "VertexAI",
317
317
  SpanAttributes.LLM_REQUEST_TYPE: LLMRequestTypeValues.COMPLETION.value,
318
318
  },
319
319
  )
@@ -1 +1 @@
1
- __version__ = "0.16.9"
1
+ __version__ = "0.17.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentelemetry-instrumentation-vertexai
3
- Version: 0.16.9
3
+ Version: 0.17.0
4
4
  Summary: OpenTelemetry Vertex AI instrumentation
5
5
  Home-page: https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-vertexai
6
6
  License: Apache-2.0
@@ -17,7 +17,7 @@ Provides-Extra: instruments
17
17
  Requires-Dist: opentelemetry-api (>=1.24.0,<2.0.0)
18
18
  Requires-Dist: opentelemetry-instrumentation (>=0.45b0,<0.46)
19
19
  Requires-Dist: opentelemetry-semantic-conventions (>=0.45b0,<0.46)
20
- Requires-Dist: opentelemetry-semantic-conventions-ai (==0.1.1)
20
+ Requires-Dist: opentelemetry-semantic-conventions-ai (==0.2.0)
21
21
  Project-URL: Repository, https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-vertexai
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -0,0 +1,8 @@
1
+ opentelemetry/instrumentation/vertexai/__init__.py,sha256=4geNosED4AGgmKSyZRACFhn3LjvuIR7HGjmBtZwfbRU,11416
2
+ opentelemetry/instrumentation/vertexai/config.py,sha256=CtypZov_ytI9nSrfN9lWnjcufbAR9sfkXRA0OstDEUw,42
3
+ opentelemetry/instrumentation/vertexai/utils.py,sha256=W8361eUi-xXgDJHF5pzV7FMENDPK2mPvEcwCTnNRXUg,702
4
+ opentelemetry/instrumentation/vertexai/version.py,sha256=XpM3lncCzPBIwMSvDN7i10pke_c6KdJtVLZYbCiaTRw,23
5
+ opentelemetry_instrumentation_vertexai-0.17.0.dist-info/METADATA,sha256=xFPHN9xNN-viP9g8IFA3p8bhOnrkY0pcsLhOrxkMP08,2253
6
+ opentelemetry_instrumentation_vertexai-0.17.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
7
+ opentelemetry_instrumentation_vertexai-0.17.0.dist-info/entry_points.txt,sha256=HbacwtKx_31YuUruZKYKWOiTGnRw3YaazUKF3TPbzDc,114
8
+ opentelemetry_instrumentation_vertexai-0.17.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- opentelemetry/instrumentation/vertexai/__init__.py,sha256=j8hnDgIcDNXUsWF7WMDAEMPQ6wBN00eJxTQZH9r2OYY,11400
2
- opentelemetry/instrumentation/vertexai/config.py,sha256=CtypZov_ytI9nSrfN9lWnjcufbAR9sfkXRA0OstDEUw,42
3
- opentelemetry/instrumentation/vertexai/utils.py,sha256=W8361eUi-xXgDJHF5pzV7FMENDPK2mPvEcwCTnNRXUg,702
4
- opentelemetry/instrumentation/vertexai/version.py,sha256=aaOPajgt7z6Q6ioAmspyP7T1YmB5cOOhyKtWSLRxxyg,23
5
- opentelemetry_instrumentation_vertexai-0.16.9.dist-info/METADATA,sha256=3hhj7Mn3NrgCn5Fv_Ti9bhhrwbrpbHdgsrJFdfOO7Z0,2253
6
- opentelemetry_instrumentation_vertexai-0.16.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
7
- opentelemetry_instrumentation_vertexai-0.16.9.dist-info/entry_points.txt,sha256=HbacwtKx_31YuUruZKYKWOiTGnRw3YaazUKF3TPbzDc,114
8
- opentelemetry_instrumentation_vertexai-0.16.9.dist-info/RECORD,,