langtrace-python-sdk 3.1.1__py3-none-any.whl → 3.1.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- langtrace_python_sdk/langtrace.py +2 -1
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/RECORD +7 -7
- {langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/entry_points.txt +0 -0
- {langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/licenses/LICENSE +0 -0
@@ -74,6 +74,7 @@ from langtrace_python_sdk.utils import (
|
|
74
74
|
validate_instrumentations,
|
75
75
|
)
|
76
76
|
from langtrace_python_sdk.utils.langtrace_sampler import LangtraceSampler
|
77
|
+
from langtrace_python_sdk.extensions.langtrace_exporter import LangTraceExporter
|
77
78
|
from sentry_sdk.types import Event, Hint
|
78
79
|
|
79
80
|
logging.disable(level=logging.INFO)
|
@@ -149,7 +150,7 @@ def get_exporter(config: LangtraceConfig, host: str):
|
|
149
150
|
headers = get_headers(config)
|
150
151
|
host = f"{host}/api/trace" if host == LANGTRACE_REMOTE_URL else host
|
151
152
|
if "http" in host.lower() or "https" in host.lower():
|
152
|
-
return
|
153
|
+
return LangTraceExporter(host, config.api_key, config.disable_logging)
|
153
154
|
else:
|
154
155
|
return GRPCExporter(endpoint=host, headers=headers)
|
155
156
|
|
langtrace_python_sdk/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.1.
|
1
|
+
__version__ = "3.1.2"
|
@@ -98,8 +98,8 @@ examples/vertexai_example/main.py,sha256=gndId5X5ksD-ycxnAWMdEqIDbLc3kz5Vt8vm4YP
|
|
98
98
|
examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56snk-Bbg2Kw,618
|
99
99
|
examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
|
100
100
|
langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
|
101
|
-
langtrace_python_sdk/langtrace.py,sha256=
|
102
|
-
langtrace_python_sdk/version.py,sha256=
|
101
|
+
langtrace_python_sdk/langtrace.py,sha256=dSOJtEGCq-D4EGWoBfLOF6xGy1IBYk5EG7zatq_h0-Y,12344
|
102
|
+
langtrace_python_sdk/version.py,sha256=EkxTxShULe9D7KtZB_iICEO13IyzloAxfYgXHGwpMhQ,22
|
103
103
|
langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
|
104
104
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=d-3Qn5C_NTy1NkmdavZvy-6vePwTC5curN6QMy2haHc,50
|
105
105
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -243,8 +243,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
|
|
243
243
|
tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
|
244
244
|
tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
|
245
245
|
tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
|
246
|
-
langtrace_python_sdk-3.1.
|
247
|
-
langtrace_python_sdk-3.1.
|
248
|
-
langtrace_python_sdk-3.1.
|
249
|
-
langtrace_python_sdk-3.1.
|
250
|
-
langtrace_python_sdk-3.1.
|
246
|
+
langtrace_python_sdk-3.1.2.dist-info/METADATA,sha256=tR9LgCLpeqUgMSTlY8HdEFid0XOtbSbgiIqkPro9ajA,15868
|
247
|
+
langtrace_python_sdk-3.1.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
248
|
+
langtrace_python_sdk-3.1.2.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
|
249
|
+
langtrace_python_sdk-3.1.2.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
250
|
+
langtrace_python_sdk-3.1.2.dist-info/RECORD,,
|
File without changes
|
{langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/entry_points.txt
RENAMED
File without changes
|
{langtrace_python_sdk-3.1.1.dist-info → langtrace_python_sdk-3.1.2.dist-info}/licenses/LICENSE
RENAMED
File without changes
|