langtrace-python-sdk 3.1.1__py3-none-any.whl → 3.1.2__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.
@@ -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 HTTPExporter(endpoint=host, headers=headers)
153
+ return LangTraceExporter(host, config.api_key, config.disable_logging)
153
154
  else:
154
155
  return GRPCExporter(endpoint=host, headers=headers)
155
156
 
@@ -1 +1 @@
1
- __version__ = "3.1.1"
1
+ __version__ = "3.1.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langtrace-python-sdk
3
- Version: 3.1.1
3
+ Version: 3.1.2
4
4
  Summary: Python SDK for LangTrace
5
5
  Project-URL: Homepage, https://github.com/Scale3-Labs/langtrace-python-sdk
6
6
  Author-email: Scale3 Labs <engineering@scale3labs.com>
@@ -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=3lq12_arp6g22qDuO8lh2wNtHZBqrHuofZJUxR1teCQ,12244
102
- langtrace_python_sdk/version.py,sha256=14eImCCNxRh4pWMIfkKe4h5OCS1ICfRjHSj2AfgEXa0,22
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.1.dist-info/METADATA,sha256=edsnZ8aLtWS9wlM2unHIHZWFSntw8PkDt06X1obiH6w,15868
247
- langtrace_python_sdk-3.1.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
248
- langtrace_python_sdk-3.1.1.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
249
- langtrace_python_sdk-3.1.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
250
- langtrace_python_sdk-3.1.1.dist-info/RECORD,,
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,,