We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ae72cd + 28d7e2b commit 675449cCopy full SHA for 675449c
src/langtrace_python_sdk/langtrace.py
@@ -151,7 +151,7 @@ def get_exporter(config: LangtraceConfig, host: str):
151
headers = get_headers(config)
152
host = f"{host}/api/trace" if host == LANGTRACE_REMOTE_URL else host
153
if "http" in host.lower() or "https" in host.lower():
154
- return LangTraceExporter(host, config.api_key, config.disable_logging)
+ return HTTPExporter(endpoint=host, headers=headers)
155
else:
156
return GRPCExporter(endpoint=host, headers=headers)
157
0 commit comments