opentelemetry-instrumentation-llamaindex 0.13.2__py3-none-any.whl → 0.14.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.

@@ -12,13 +12,11 @@ from opentelemetry.semconv.ai import SpanAttributes, TraceloopSpanKindValues
12
12
  TO_INSTRUMENT = [
13
13
  {
14
14
  "class": "AgentRunner",
15
- "v9_module": "llama_index.agent.runner.base",
16
15
  "v10_module": "llama_index.core.agent.runner.base",
17
16
  "v10_legacy_module": "llama_index.legacy.agent.runner.base",
18
17
  },
19
18
  {
20
19
  "class": "OpenAIAssistantAgent",
21
- "v9_module": "llama_index.agent.openai_assistant_agent",
22
20
  "v10_module": "llama_index.agent.openai.openai_assistant_agent",
23
21
  "v10_legacy_module": "llama_index.legacy.agent.openai_assistant_agent",
24
22
  },
@@ -37,7 +35,7 @@ class BaseAgentInstrumentor:
37
35
  self._instrument_module(module["v10_legacy_module"], module["class"])
38
36
 
39
37
  except PackageNotFoundError:
40
- self._instrument_module(module["v9_module"], module["class"])
38
+ pass # not supported before v10
41
39
 
42
40
  def _instrument_module(self, module_name, class_name):
43
41
  wrap_function_wrapper(
@@ -9,7 +9,6 @@ from opentelemetry.instrumentation.llamaindex.utils import (
9
9
  )
10
10
  from opentelemetry.semconv.ai import SpanAttributes, TraceloopSpanKindValues
11
11
 
12
- V9_MODULE_NAME = "llama_index.query_pipeline.query"
13
12
  V10_MODULE_NAME = "llama_index.core.query_pipeline.query"
14
13
  V10_LEGACY_MODULE_NAME = "llama_index.legacy.query_pipeline.query"
15
14
 
@@ -28,7 +27,7 @@ class QueryPipelineInstrumentor:
28
27
  self._instrument_module(V10_LEGACY_MODULE_NAME)
29
28
 
30
29
  except PackageNotFoundError:
31
- self._instrument_module(V9_MODULE_NAME)
30
+ pass # not supported before v10
32
31
 
33
32
  def _instrument_module(self, module_name):
34
33
  wrap_function_wrapper(
@@ -1 +1 @@
1
- __version__ = "0.13.2"
1
+ __version__ = "0.14.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentelemetry-instrumentation-llamaindex
3
- Version: 0.13.2
3
+ Version: 0.14.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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
15
15
  Requires-Dist: inflection (>=0.5.1,<0.6.0)
16
16
  Requires-Dist: opentelemetry-api (>=1.23.0,<2.0.0)
17
17
  Requires-Dist: opentelemetry-instrumentation (==0.44b0)
18
- Requires-Dist: opentelemetry-semantic-conventions-ai (>=0.0.20,<0.0.21)
18
+ Requires-Dist: opentelemetry-semantic-conventions-ai (>=0.0.23,<0.0.24)
19
19
  Project-URL: Repository, https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-llamaindex
20
20
  Description-Content-Type: text/markdown
21
21
 
@@ -1,14 +1,14 @@
1
1
  opentelemetry/instrumentation/llamaindex/__init__.py,sha256=aJOq0jxvuN3C9nLWpvXnHWe98aenSfXHX8OoTvqJwY4,2125
2
- opentelemetry/instrumentation/llamaindex/base_agent_instrumentor.py,sha256=cP8zB16Fd6YUjiZPnk5l9v31laN15fIeAaKWi-0dvRY,2394
2
+ opentelemetry/instrumentation/llamaindex/base_agent_instrumentor.py,sha256=5orAAgeGzNh5uIQzMZML8WMHSAJpFo0C5EINoif4pTc,2246
3
3
  opentelemetry/instrumentation/llamaindex/base_embedding_instrumentor.py,sha256=xbw3gD4OT_CObMOIV3vvLTV1V4obr3PgoiON5u2zd64,2055
4
4
  opentelemetry/instrumentation/llamaindex/base_retriever_instrumentor.py,sha256=ipQozp1_4RE2pLPpWFuDgDOtv_GKPh5PocZRO3_LZWA,1955
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/custom_llm_instrumentor.py,sha256=MIviNHzIUsvBLR1PhThzbz4LGervkiweEXVK3ogYYZo,5688
8
- opentelemetry/instrumentation/llamaindex/query_pipeline_instrumentor.py,sha256=mHcZqYzwjiv-kwVlINnCU2NXDAPBiq5F8_1jma3PaCc,2156
8
+ opentelemetry/instrumentation/llamaindex/query_pipeline_instrumentor.py,sha256=Z84cNWnjjMlVRDUE2Jyb0LIYUVqMvf_7YsQ9vQjXrmw,2097
9
9
  opentelemetry/instrumentation/llamaindex/retriever_query_engine_instrumentor.py,sha256=mlpyxZ51nYDqdo_O8BSdzBdbmNpD9ejokbIYaejGFPs,2228
10
10
  opentelemetry/instrumentation/llamaindex/utils.py,sha256=twTDrGSTN8hhNJIWOya5XMCLs3hOd_s-gie_mLk8z70,687
11
- opentelemetry/instrumentation/llamaindex/version.py,sha256=blu6md2c3Nnj5gDBi8U36sYO3k8HcND8s7UoQBjfn3g,23
12
- opentelemetry_instrumentation_llamaindex-0.13.2.dist-info/METADATA,sha256=xP-IhGmu_7x1XODvbwHufivuodwSZJ5XL2zDQsPtBkg,2147
13
- opentelemetry_instrumentation_llamaindex-0.13.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
- opentelemetry_instrumentation_llamaindex-0.13.2.dist-info/RECORD,,
11
+ opentelemetry/instrumentation/llamaindex/version.py,sha256=EVkhkQ4Bbkx92jXuCmt2_JDjQExgnrq2d3eBQIP9UAo,23
12
+ opentelemetry_instrumentation_llamaindex-0.14.0.dist-info/METADATA,sha256=PgwX1N4Q_gKdVicl2BT0KFpOq28NuHENZbytFAHJQpE,2147
13
+ opentelemetry_instrumentation_llamaindex-0.14.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
+ opentelemetry_instrumentation_llamaindex-0.14.0.dist-info/RECORD,,