Skip to content

Commit 6322f3b

Browse files
Standardize on len(spans) in tracing processor logs
1 parent f2757ae commit 6322f3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async def on_spans_end(self, spans: list[Span]) -> None:
180180
sgp_spans.append(sgp_span)
181181
await client.spans.upsert_batch(items=[s.to_request_params() for s in sgp_spans])
182182
_metrics.record_export_success(
183-
event_type="end", span_count=len(sgp_spans), processor="sgp"
183+
event_type="end", span_count=len(spans), processor="sgp"
184184
)
185185

186186
@override

0 commit comments

Comments
 (0)