langtrace-python-sdk 1.1.20__py3-none-any.whl → 1.1.22__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.
@@ -39,10 +39,12 @@ def init(
39
39
  batch: bool = True,
40
40
  log_spans_to_console: bool = False,
41
41
  write_to_remote_url: bool = True,
42
+ custom_exporter = None
42
43
  ):
43
44
 
44
45
  provider = TracerProvider()
45
- remote_write_exporter = LangTraceExporter(api_key, remote_url, write_to_remote_url)
46
+
47
+ remote_write_exporter = LangTraceExporter(api_key, remote_url, write_to_remote_url) if custom_exporter is None else custom_exporter
46
48
  console_exporter = ConsoleSpanExporter()
47
49
  batch_processor_remote = BatchSpanProcessor(remote_write_exporter)
48
50
  simple_processor_remote = SimpleSpanProcessor(remote_write_exporter)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langtrace-python-sdk
3
- Version: 1.1.20
3
+ Version: 1.1.22
4
4
  Summary: Python SDK for LangTrace
5
5
  Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
6
6
  Author: Scale3 Labs
@@ -16,7 +16,7 @@ examples/openai/images_generate.py,sha256=ZioxTuHKE_yYlhpESqXKVzdkiwdegkmLVB7N8T
16
16
  examples/pinecone_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  examples/pinecone_example/basic.py,sha256=8Tpf0hYMgJdjVpISu15BW7IpjrnwZXrBuCGoC9xE7Fg,927
18
18
  langtrace_python_sdk/__init__.py,sha256=SlHg447-nQBbw8exRNJP_OyHUZ39Sldb7aaQ35hIRm8,262
19
- langtrace_python_sdk/langtrace.py,sha256=MO4fpGZJHyNmaRNX3nV3g1O_Rir4uQl15widuO3qMeQ,3134
19
+ langtrace_python_sdk/langtrace.py,sha256=7LHdiuUQstHFqapmJ2eD0IZNIHHTyjwKpsqWP2qlX6M,3210
20
20
  langtrace_python_sdk/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  langtrace_python_sdk/constants/instrumentation/anthropic.py,sha256=YX3llt3zwDY6XrYk3CB8WEVqgrzRXEw_ffyk56JoF3k,126
@@ -54,8 +54,8 @@ langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=uDKUBjyOVCDL44YxXV
54
54
  langtrace_python_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  langtrace_python_sdk/utils/llm.py,sha256=4z2e-md_ELXCEuOIRVWracR6qH2pmsOxCqpkuF9_3Nw,1589
56
56
  langtrace_python_sdk/utils/with_root_span.py,sha256=LgFVwHq7KZ6sj2d783NZXr2fFWqI1rqVWSjJR68Ad1E,1044
57
- langtrace_python_sdk-1.1.20.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
58
- langtrace_python_sdk-1.1.20.dist-info/METADATA,sha256=VJjjJem71pt-5VrDhgyqZ4sk3_osO2P5rcBeFPoOILQ,8131
59
- langtrace_python_sdk-1.1.20.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
- langtrace_python_sdk-1.1.20.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
61
- langtrace_python_sdk-1.1.20.dist-info/RECORD,,
57
+ langtrace_python_sdk-1.1.22.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
58
+ langtrace_python_sdk-1.1.22.dist-info/METADATA,sha256=hPGVCV-DeDhS0H6DdRCRwmfoT4U10mmhCfx9nfoUQ_U,8131
59
+ langtrace_python_sdk-1.1.22.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
+ langtrace_python_sdk-1.1.22.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
61
+ langtrace_python_sdk-1.1.22.dist-info/RECORD,,