Video in progress
How does the "wide events" approach (one event with hundreds of fields per request) differ from the classic metrics + logs model? When is it worth moving to it?
With wide events, one rich, structured record is stored per request, and metrics are computed at query time, not in advance. This gives you free-form analysis over high cardinality ("slow only for customer X, version Y, region Z"), but you need a columnar database for storage and queries, and cost depends directly on volume.
📖 Answer
In the classic model you have to know the questions in advance: you can only ask about the slices for which you wrote the metric with those tags. A new question ("what is the latency for premium customers on Android 14?") means a new tag, a new deploy, and often a cardinality ban.
In the wide events model, one event is written at the end of the request:
{"ts":"2026-11-03T10:15:02Z","service":"checkout","route":"/checkout","status":200,
"duration_ms":742,"customer_id":"c-8812","customer_tier":"premium","app_version":"5.3.1",
"region":"tas-1","db_calls":7,"db_ms":510,"cache_hit":false,"feature_flags":["new_pricing"],
"trace_id":"4bf92f35..."}
And then you can query any slice: p99(duration_ms) where feature_flags contains "new_pricing" group by app_version. High cardinality is not a problem here; it is the source of value.
When it is worth it:
- a complex system with many "unknown unknowns", where incidents show up in a new slice every time;
- product and engineering use the same data;
- you already have traces: span attributes are really a kind of wide event, and in many backends you can write the same kind of queries against them.
Cost and limits:
- storage: 1-2 KB per request. At 20 thousand requests a second that is terabytes a day, so sampling is nearly mandatory, and the sample rate is stored in the event and used to re-weight the calculations;
- for alerting, cheap pre-aggregated metrics are still more convenient, since running queries over wide events every minute is expensive;
- you need a columnar backend (ClickHouse, Honeycomb, BigQuery) and a new query culture in the team.
I usually propose not a full replacement but a combination: low-cardinality metrics for SLOs and alerts, rich span attributes or wide events for analysis and debugging, and logs only for text context that is really needed.
Sign up to mark studied questions and save your progress.