You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libdd-trace-stats/README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Compute aggregated statistics from distributed tracing spans with time-bucketed
14
14
-**Span Filtering**: Filter spans by top-level, measured, or span.kind
15
15
-**Time Bucketing**: Configurable bucket sizes for aggregation
16
16
-**Statistics Export**: Generate statistics payloads for Datadog backend
17
+
-**Stats Exporter***(non-wasm)*: Periodic HTTP flusher backed by any `HttpClientTrait` implementation
17
18
18
19
## Span Concentrator
19
20
@@ -41,6 +42,28 @@ Only certain spans are aggregated:
41
42
42
43
When flushed, the concentrator keeps the most recent buckets and returns older buckets as statistics.
43
44
45
+
## Stats Exporter
46
+
47
+
`StatsExporter` wraps a `FlushableConcentrator` and periodically drains it, encoding the resulting `ClientStatsPayload` as msgpack and POSTing it to the agent's `/v0.6/stats` endpoint.
0 commit comments