opentelemetry-instrumentation-llamaindex 0.21.4__tar.gz → 0.22.0__tar.gz
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-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/PKG-INFO +2 -2
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/utils.py +4 -1
- opentelemetry_instrumentation_llamaindex-0.22.0/opentelemetry/instrumentation/llamaindex/version.py +1 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/pyproject.toml +12 -12
- opentelemetry_instrumentation_llamaindex-0.21.4/opentelemetry/instrumentation/llamaindex/version.py +0 -1
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/README.md +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/__init__.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/base_agent_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/base_embedding_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/base_retriever_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/base_synthesizer_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/base_tool_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/config.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/custom_llm_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/query_pipeline_instrumentor.py +0 -0
- {opentelemetry_instrumentation_llamaindex-0.21.4 → opentelemetry_instrumentation_llamaindex-0.22.0}/opentelemetry/instrumentation/llamaindex/retriever_query_engine_instrumentor.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentelemetry-instrumentation-llamaindex
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.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.25.0,<2.0.0)
|
|
19
19
|
Requires-Dist: opentelemetry-instrumentation (>=0.46b0,<0.47)
|
|
20
20
|
Requires-Dist: opentelemetry-semantic-conventions (>=0.46b0,<0.47)
|
|
21
|
-
Requires-Dist: opentelemetry-semantic-conventions-ai (==0.
|
|
21
|
+
Requires-Dist: opentelemetry-semantic-conventions-ai (==0.3.1)
|
|
22
22
|
Project-URL: Repository, https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-llamaindex
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import logging
|
|
3
|
+
import traceback
|
|
3
4
|
from contextlib import asynccontextmanager
|
|
4
5
|
|
|
5
6
|
from opentelemetry import context as context_api
|
|
@@ -43,7 +44,9 @@ def dont_throw(func):
|
|
|
43
44
|
return func(*args, **kwargs)
|
|
44
45
|
except Exception as e:
|
|
45
46
|
logger.debug(
|
|
46
|
-
"OpenLLMetry failed to trace in %s, error: %s",
|
|
47
|
+
"OpenLLMetry failed to trace in %s, error: %s",
|
|
48
|
+
func.__name__,
|
|
49
|
+
traceback.format_exc(),
|
|
47
50
|
)
|
|
48
51
|
if Config.exception_logger:
|
|
49
52
|
Config.exception_logger(e)
|
opentelemetry_instrumentation_llamaindex-0.22.0/opentelemetry/instrumentation/llamaindex/version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.22.0"
|
|
@@ -8,7 +8,7 @@ show_missing = true
|
|
|
8
8
|
|
|
9
9
|
[tool.poetry]
|
|
10
10
|
name = "opentelemetry-instrumentation-llamaindex"
|
|
11
|
-
version = "0.
|
|
11
|
+
version = "0.22.0"
|
|
12
12
|
description = "OpenTelemetry LlamaIndex instrumentation"
|
|
13
13
|
authors = [
|
|
14
14
|
"Gal Kleinman <gal@traceloop.com>",
|
|
@@ -27,28 +27,28 @@ python = ">=3.9,<4"
|
|
|
27
27
|
opentelemetry-api = "^1.25.0"
|
|
28
28
|
opentelemetry-instrumentation = "^0.46b0"
|
|
29
29
|
opentelemetry-semantic-conventions = "^0.46b0"
|
|
30
|
-
opentelemetry-semantic-conventions-ai = "0.
|
|
30
|
+
opentelemetry-semantic-conventions-ai = "0.3.1"
|
|
31
31
|
inflection = "^0.5.1"
|
|
32
32
|
|
|
33
33
|
[tool.poetry.group.dev.dependencies]
|
|
34
|
-
autopep8 = "2.
|
|
34
|
+
autopep8 = "^2.2.0"
|
|
35
35
|
flake8 = "7.0.0"
|
|
36
36
|
|
|
37
37
|
[tool.poetry.group.test.dependencies]
|
|
38
38
|
vcrpy = "^6.0.1"
|
|
39
39
|
pytest-recording = "^0.13.1"
|
|
40
|
-
pytest-asyncio = "^0.23.
|
|
40
|
+
pytest-asyncio = "^0.23.7"
|
|
41
41
|
chromadb = ">=0.4.22,<0.6.0"
|
|
42
|
-
openai = "=1.
|
|
42
|
+
openai = "=1.31.1"
|
|
43
43
|
opentelemetry-sdk = "^1.23.0"
|
|
44
|
-
llama-index = "^0.10.
|
|
45
|
-
llama-index-postprocessor-cohere-rerank = "^0.1.
|
|
46
|
-
opentelemetry-instrumentation-openai = "==0.
|
|
47
|
-
opentelemetry-instrumentation-cohere = "==0.
|
|
48
|
-
opentelemetry-instrumentation-chromadb = "==0.
|
|
44
|
+
llama-index = "^0.10.43"
|
|
45
|
+
llama-index-postprocessor-cohere-rerank = "^0.1.7"
|
|
46
|
+
opentelemetry-instrumentation-openai = "==0.22.0"
|
|
47
|
+
opentelemetry-instrumentation-cohere = "==0.22.0"
|
|
48
|
+
opentelemetry-instrumentation-chromadb = "==0.22.0"
|
|
49
49
|
sqlalchemy = "^2.0.27"
|
|
50
|
-
llama-index-agent-openai = ">=0.
|
|
51
|
-
llama-index-vector-stores-chroma = "^0.1.
|
|
50
|
+
llama-index-agent-openai = ">=0.2.7,<0.3.0"
|
|
51
|
+
llama-index-vector-stores-chroma = "^0.1.8"
|
|
52
52
|
|
|
53
53
|
[build-system]
|
|
54
54
|
requires = ["poetry-core"]
|
opentelemetry_instrumentation_llamaindex-0.21.4/opentelemetry/instrumentation/llamaindex/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.21.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|