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
feat(telemetry): restructure OTLP export into per-session resource blocks
The writer now opens a new resourceLogs/resourceSpans/resourceMetrics
block whenever the producing event's session context or UTC date changes,
building the resource from that event's context instead of the exporting
session's. This fixes resource attribution for multi-session exports and
removes the three coder.event.* provenance attributes from every record.
Within a block, metric data points are grouped under one metrics[] entry
per (name, unit) as the OTLP proto expects, instead of one single-point
metric per event measurement. Cumulative counter totals and anchors reset
at block boundaries, mirroring how OTel models a process restart.
Zip entries now deflate at level 9; exports run on demand, so CPU cost
is irrelevant next to bundle size.
0 commit comments