Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 84dd6c7

Browse files
authored
Merge pull request #8 from vendi-ai/sdk-fix
Sdk fix
2 parents 69e56b9 + 8da1580 commit 84dd6c7

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.idea/
2+
__pycache__/
3+
.venv/
4+
tmp/**
5+
.DS_Store
6+
.env
7+
**.parquet
8+
**.csv
9+
.egg-info/
10+
dist/
11+
*.tgz

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11.8

src/vendi_sdk/runtime/span_processer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def get_exporter(api_endpoint: str, headers: dict[str, str]) -> OTLPSpanExporter:
10-
return OTLPSpanExporter(endpoint=f"{api_endpoint}/api/v1/traces", headers=headers)
10+
return OTLPSpanExporter(endpoint=f"{api_endpoint}/api/v1/analytics-collector/activity", headers=headers)
1111

1212

1313
class InstrumentSpanProcessor(SimpleSpanProcessor):

0 commit comments

Comments
 (0)