opentelemetry-instrumentation-llamaindex 0.16.8__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-llamaindex might be problematic. Click here for more details.
- opentelemetry/instrumentation/llamaindex/custom_llm_instrumentor.py +2 -2
- opentelemetry/instrumentation/llamaindex/version.py +1 -1
- {opentelemetry_instrumentation_llamaindex-0.16.8.dist-info → opentelemetry_instrumentation_llamaindex-0.17.0.dist-info}/METADATA +2 -2
- {opentelemetry_instrumentation_llamaindex-0.16.8.dist-info → opentelemetry_instrumentation_llamaindex-0.17.0.dist-info}/RECORD +6 -6
- {opentelemetry_instrumentation_llamaindex-0.16.8.dist-info → opentelemetry_instrumentation_llamaindex-0.17.0.dist-info}/WHEEL +0 -0
- {opentelemetry_instrumentation_llamaindex-0.16.8.dist-info → opentelemetry_instrumentation_llamaindex-0.17.0.dist-info}/entry_points.txt +0 -0
|
@@ -142,7 +142,7 @@ async def acomplete_wrapper(tracer, wrapped, instance: CustomLLM, args, kwargs):
|
|
|
142
142
|
|
|
143
143
|
@dont_throw
|
|
144
144
|
def _handle_request(span, llm_request_type, args, kwargs, instance: CustomLLM):
|
|
145
|
-
_set_span_attribute(span, SpanAttributes.
|
|
145
|
+
_set_span_attribute(span, SpanAttributes.LLM_SYSTEM, instance.__class__.__name__)
|
|
146
146
|
_set_span_attribute(span, SpanAttributes.LLM_REQUEST_TYPE, llm_request_type.value)
|
|
147
147
|
_set_span_attribute(
|
|
148
148
|
span, SpanAttributes.LLM_REQUEST_MODEL, instance.metadata.model_name
|
|
@@ -150,7 +150,7 @@ def _handle_request(span, llm_request_type, args, kwargs, instance: CustomLLM):
|
|
|
150
150
|
_set_span_attribute(
|
|
151
151
|
span, SpanAttributes.LLM_REQUEST_MAX_TOKENS, instance.metadata.context_window
|
|
152
152
|
)
|
|
153
|
-
_set_span_attribute(span, SpanAttributes.
|
|
153
|
+
_set_span_attribute(span, SpanAttributes.LLM_REQUEST_TOP_P, instance.metadata.num_output)
|
|
154
154
|
|
|
155
155
|
if should_send_prompts():
|
|
156
156
|
# TODO: add support for chat
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.17.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentelemetry-instrumentation-llamaindex
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17.0
|
|
4
4
|
Summary: OpenTelemetry LlamaIndex instrumentation
|
|
5
5
|
Home-page: https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-llamaindex
|
|
6
6
|
License: Apache-2.0
|
|
@@ -18,7 +18,7 @@ Requires-Dist: inflection (>=0.5.1,<0.6.0)
|
|
|
18
18
|
Requires-Dist: opentelemetry-api (>=1.24.0,<2.0.0)
|
|
19
19
|
Requires-Dist: opentelemetry-instrumentation (>=0.45b0,<0.46)
|
|
20
20
|
Requires-Dist: opentelemetry-semantic-conventions (>=0.45b0,<0.46)
|
|
21
|
-
Requires-Dist: opentelemetry-semantic-conventions-ai (==0.
|
|
21
|
+
Requires-Dist: opentelemetry-semantic-conventions-ai (==0.2.0)
|
|
22
22
|
Requires-Dist: tiktoken (>=0.6.0,<0.7.0)
|
|
23
23
|
Project-URL: Repository, https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-llamaindex
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
@@ -5,12 +5,12 @@ opentelemetry/instrumentation/llamaindex/base_retriever_instrumentor.py,sha256=i
|
|
|
5
5
|
opentelemetry/instrumentation/llamaindex/base_synthesizer_instrumentor.py,sha256=NCgwwZthjq4fdZj-U0m14qZY-2BoEow4H7t5tVr4EAs,1974
|
|
6
6
|
opentelemetry/instrumentation/llamaindex/base_tool_instrumentor.py,sha256=6a5NMPOI9B_oDy7zlAkA6-u5Kqt1fXcbnxx7Xw-E2M4,2359
|
|
7
7
|
opentelemetry/instrumentation/llamaindex/config.py,sha256=CtypZov_ytI9nSrfN9lWnjcufbAR9sfkXRA0OstDEUw,42
|
|
8
|
-
opentelemetry/instrumentation/llamaindex/custom_llm_instrumentor.py,sha256=
|
|
8
|
+
opentelemetry/instrumentation/llamaindex/custom_llm_instrumentor.py,sha256=9b9I3WDE0icnYtDpkiFChpl7fwadQnUCryHc3pPi6nM,5936
|
|
9
9
|
opentelemetry/instrumentation/llamaindex/query_pipeline_instrumentor.py,sha256=Z84cNWnjjMlVRDUE2Jyb0LIYUVqMvf_7YsQ9vQjXrmw,2097
|
|
10
10
|
opentelemetry/instrumentation/llamaindex/retriever_query_engine_instrumentor.py,sha256=mlpyxZ51nYDqdo_O8BSdzBdbmNpD9ejokbIYaejGFPs,2228
|
|
11
11
|
opentelemetry/instrumentation/llamaindex/utils.py,sha256=nuQhe402q1lhm9aT6wsTWMU0O9bnfC5H_9tzaDTG1-4,1389
|
|
12
|
-
opentelemetry/instrumentation/llamaindex/version.py,sha256=
|
|
13
|
-
opentelemetry_instrumentation_llamaindex-0.
|
|
14
|
-
opentelemetry_instrumentation_llamaindex-0.
|
|
15
|
-
opentelemetry_instrumentation_llamaindex-0.
|
|
16
|
-
opentelemetry_instrumentation_llamaindex-0.
|
|
12
|
+
opentelemetry/instrumentation/llamaindex/version.py,sha256=XpM3lncCzPBIwMSvDN7i10pke_c6KdJtVLZYbCiaTRw,23
|
|
13
|
+
opentelemetry_instrumentation_llamaindex-0.17.0.dist-info/METADATA,sha256=vNSh17affYPqcwzXbnCmhRn1uj1geoTbdAFiO20nG1k,2326
|
|
14
|
+
opentelemetry_instrumentation_llamaindex-0.17.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
15
|
+
opentelemetry_instrumentation_llamaindex-0.17.0.dist-info/entry_points.txt,sha256=gtV40W4oFCp6VNvgowTKa0zQjfIrvfdlYflgGdSsA5A,106
|
|
16
|
+
opentelemetry_instrumentation_llamaindex-0.17.0.dist-info/RECORD,,
|
|
File without changes
|