mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
langtrace version upgrade
This commit is contained in:
parent
542a3ddb5d
commit
26d00dc5c9
2 changed files with 9 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
langfuse==3.9.3
|
||||
langfuse==4.6.1
|
||||
fastapi==0.135.3
|
||||
asyncpg==0.30.0
|
||||
alembic==1.16.5
|
||||
|
|
|
|||
|
|
@ -75,7 +75,10 @@ class _OrgRoutingExporter(SpanExporter):
|
|||
self._org_hosts[key] = normalized_host
|
||||
exporter = OTLPSpanExporter(
|
||||
endpoint=endpoint,
|
||||
headers={"Authorization": f"Basic {auth}"},
|
||||
headers={
|
||||
"Authorization": f"Basic {auth}",
|
||||
"x-langfuse-ingestion-version": "4",
|
||||
},
|
||||
)
|
||||
self._org_exporters[key] = exporter
|
||||
logger.info(f"Registered OTEL exporter for org {org_id}")
|
||||
|
|
@ -158,7 +161,10 @@ def ensure_tracing() -> bool:
|
|||
).decode()
|
||||
default_exporter = OTLPSpanExporter(
|
||||
endpoint=f"{LANGFUSE_HOST}/api/public/otel/v1/traces",
|
||||
headers={"Authorization": f"Basic {langfuse_auth}"},
|
||||
headers={
|
||||
"Authorization": f"Basic {langfuse_auth}",
|
||||
"x-langfuse-ingestion-version": "4",
|
||||
},
|
||||
)
|
||||
|
||||
_org_routing_exporter = _OrgRoutingExporter(default_exporter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue