langtrace-python-sdk 2.2.5__py3-none-any.whl → 2.2.6__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.
- langtrace_python_sdk/instrumentation/crewai/instrumentation.py +18 -15
- langtrace_python_sdk/utils/llm.py +1 -0
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/RECORD +8 -8
- {langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/entry_points.txt +0 -0
- {langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -33,21 +33,24 @@ class CrewAIInstrumentation(BaseInstrumentor):
|
|
|
33
33
|
tracer_provider = kwargs.get("tracer_provider")
|
|
34
34
|
tracer = get_tracer(__name__, "", tracer_provider)
|
|
35
35
|
version = v("crewai")
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
36
|
+
try:
|
|
37
|
+
_W(
|
|
38
|
+
"crewai.crew",
|
|
39
|
+
"Crew.kickoff",
|
|
40
|
+
patch_crew("Crew.kickoff", version, tracer),
|
|
41
|
+
)
|
|
42
|
+
_W(
|
|
43
|
+
"crewai.agent",
|
|
44
|
+
"Agent.execute_task",
|
|
45
|
+
patch_crew("Agent.execute_task", version, tracer),
|
|
46
|
+
)
|
|
47
|
+
_W(
|
|
48
|
+
"crewai.task",
|
|
49
|
+
"Task.execute",
|
|
50
|
+
patch_crew("Task.execute", version, tracer),
|
|
51
|
+
)
|
|
52
|
+
except Exception as e:
|
|
53
|
+
pass
|
|
51
54
|
|
|
52
55
|
def _uninstrument(self, **kwargs):
|
|
53
56
|
pass
|
|
@@ -88,6 +88,7 @@ def get_langtrace_attributes(version, service_provider, vendor_type="llm"):
|
|
|
88
88
|
SpanAttributes.LANGTRACE_SERVICE_VERSION: version,
|
|
89
89
|
SpanAttributes.LANGTRACE_SERVICE_NAME: service_provider,
|
|
90
90
|
SpanAttributes.LANGTRACE_SERVICE_TYPE: vendor_type,
|
|
91
|
+
SpanAttributes.LLM_SYSTEM: service_provider,
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
|
langtrace_python_sdk/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.2.
|
|
1
|
+
__version__ = "2.2.6"
|
|
@@ -60,7 +60,7 @@ examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56sn
|
|
|
60
60
|
examples/weaviate_example/query_text.py,sha256=sG8O-bXQpflBAiYpgE_M2X7GcHUlZNgl_wJW8_h-W6Q,127024
|
|
61
61
|
langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
|
|
62
62
|
langtrace_python_sdk/langtrace.py,sha256=1L0IjME-pzEYht92QfwByPZr3H1MClTrqQdoN1KyKJY,7689
|
|
63
|
-
langtrace_python_sdk/version.py,sha256=
|
|
63
|
+
langtrace_python_sdk/version.py,sha256=qzqxcwWCwWgKw_eJA2nZPycPzwfpaSjAKO3MwNvDqgw,22
|
|
64
64
|
langtrace_python_sdk/constants/__init__.py,sha256=P8QvYwt5czUNDZsKS64vxm9Dc41ptGbuF1TFtAF6nv4,44
|
|
65
65
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=5MNjnAOg-4am78J3gVMH6FSwq5N8TOj72ugkhsw4vi0,46
|
|
66
66
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -90,7 +90,7 @@ langtrace_python_sdk/instrumentation/cohere/__init__.py,sha256=sGUSLdTUyYf36Tm6L
|
|
|
90
90
|
langtrace_python_sdk/instrumentation/cohere/instrumentation.py,sha256=YQFHZIBd7SSPD4b6Va-ZR0thf_AuBCqj5yzHLHJVWnM,2121
|
|
91
91
|
langtrace_python_sdk/instrumentation/cohere/patch.py,sha256=zSPhROZsCU3ayfq25073zedCf9C1niJQ6oX8vGQKi4E,21126
|
|
92
92
|
langtrace_python_sdk/instrumentation/crewai/__init__.py,sha256=_UBKfvQv7l0g2_wnmA5F6CdSAFH0atNOVPd49zsN3aM,88
|
|
93
|
-
langtrace_python_sdk/instrumentation/crewai/instrumentation.py,sha256=
|
|
93
|
+
langtrace_python_sdk/instrumentation/crewai/instrumentation.py,sha256=q07x6nnig9JPxDT6ZylyIShfXWjNafKBetnNcA1UdEU,1836
|
|
94
94
|
langtrace_python_sdk/instrumentation/crewai/patch.py,sha256=Vnpip9Pbk4UFbTFHoUrHtAnDgsaihwSvZBgtUeOtLr8,6109
|
|
95
95
|
langtrace_python_sdk/instrumentation/dspy/__init__.py,sha256=tM1srfi_QgyCzrde4izojMrRq2Wm7Dj5QUvVQXIJzkk,84
|
|
96
96
|
langtrace_python_sdk/instrumentation/dspy/instrumentation.py,sha256=o8URiDvCbZ8LL0I-4xKHkn_Ms2sETBRpn-gOliv3xzQ,2929
|
|
@@ -137,7 +137,7 @@ langtrace_python_sdk/instrumentation/weaviate/patch.py,sha256=rRD6WfQcNGYpw9teoC
|
|
|
137
137
|
langtrace_python_sdk/types/__init__.py,sha256=KDW6S74FDxpeBa9xoH5zVEYfmRjccCCHzlW7lTJg1TA,3194
|
|
138
138
|
langtrace_python_sdk/utils/__init__.py,sha256=QPF7SMuiz_003fLCHkRrgNb9NjqErDQ5cQr6pkJReKc,724
|
|
139
139
|
langtrace_python_sdk/utils/langtrace_sampler.py,sha256=BupNndHbU9IL_wGleKetz8FdcveqHMBVz1bfKTTW80w,1753
|
|
140
|
-
langtrace_python_sdk/utils/llm.py,sha256=
|
|
140
|
+
langtrace_python_sdk/utils/llm.py,sha256=VIxYr8QJvTAvgnHHSQ_rj9b9ZPvoLq5WQND-3e7MLww,12901
|
|
141
141
|
langtrace_python_sdk/utils/misc.py,sha256=CD9NWRLxLpFd0YwlHJqzlpFNedXVWtAKGOjQWnDCo8k,838
|
|
142
142
|
langtrace_python_sdk/utils/prompt_registry.py,sha256=n5dQMVLBw8aJZY8Utvf67bncc25ELf6AH9BYw8_hSzo,2619
|
|
143
143
|
langtrace_python_sdk/utils/sdk_version_checker.py,sha256=FzjIWZjn53cX0LEVPdipQd1fO9lG8iGVUEVUs9Hyk6M,1713
|
|
@@ -186,8 +186,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
|
|
|
186
186
|
tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
|
|
187
187
|
tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
|
|
188
188
|
tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
|
|
189
|
-
langtrace_python_sdk-2.2.
|
|
190
|
-
langtrace_python_sdk-2.2.
|
|
191
|
-
langtrace_python_sdk-2.2.
|
|
192
|
-
langtrace_python_sdk-2.2.
|
|
193
|
-
langtrace_python_sdk-2.2.
|
|
189
|
+
langtrace_python_sdk-2.2.6.dist-info/METADATA,sha256=DftMFXvtlAqbFrztv22v4zmGwTKDmcfWO1gpy9nMU_s,14471
|
|
190
|
+
langtrace_python_sdk-2.2.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
191
|
+
langtrace_python_sdk-2.2.6.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
|
|
192
|
+
langtrace_python_sdk-2.2.6.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
193
|
+
langtrace_python_sdk-2.2.6.dist-info/RECORD,,
|
|
File without changes
|
{langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.5.dist-info → langtrace_python_sdk-2.2.6.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|