MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / clickhouse_create_trace

Function clickhouse_create_trace

app/api/agentops/exporter/processor.py:409–412  ·  view source on GitHub ↗

Create a trace in ClickHouse

(trace: Trace)

Source from the content-addressed store, hash-verified

407
408
409async def clickhouse_create_trace(trace: Trace) -> None:
410 """Create a trace in ClickHouse"""
411 data = [span.to_clickhouse_dict() for span in trace.spans]
412 await clickhouse_create(data)
413
414
415async def clickhouse_get_span_raw(span_id: str) -> dict:

Callers 2

create_sessionFunction · 0.85
write_trace_with_timeoutFunction · 0.85

Calls 2

clickhouse_createFunction · 0.85
to_clickhouse_dictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…