Requirement
As a person troubleshooting traces with hundreds of thousands of spans, I find it hard to spot patterns when span names follow OpenTelemetry best practices of low-cardinality.
I want span names in the UI to be overlaid with "summary fields"
so that I can investigate large traces AND follow OpenTelemetry best practices for span naming
Problem: High Cardinality in span names vs. UI Observability
When investigating large traces containing hundreds of spans with the same name, it is incredibly difficult to distinguish between them or spot patterns.
Because OpenTelemetry best practices require low-cardinality span names (e.g., get_user instead of get_user/314159), critical identifying data (like customerId or orderId) must be set as span attributes.
This creates friction when investigating large traces:
- When there are many spans in a trace, it can be hard to get the information you are looking for out of span attributes.
- Users must click on dozens of individual spans, expand the attributes panel, and hunt for the specific ID to find the one they need.
Using high-cardinality span names (e.g., appending customerId or orderId) would fix the UI issue, but it violates OpenTelemetry standards and duplicates data already stored in attributes.
References:
- OpenTelemetry best practices
Proposal: "Summary Fields"
A feature similar to Google Cloud Logs Explorer's "Summary Fields" may solve the problem.
This feature would allow users to dynamically select a span attribute (like customerId) and append or overlay that attribute value next to the span names across the entire trace view.
This way users can quickly scan for patterns or specific IDs across hundreds of spans at a glance, without bloating index data or breaking OpenTelemetry low-cardinality best practices.
References:
- Google logs explorer "summary fields":
Open questions
No response
Requirement
As a person troubleshooting traces with hundreds of thousands of spans, I find it hard to spot patterns when span names follow OpenTelemetry best practices of low-cardinality.
I want span names in the UI to be overlaid with "summary fields"
so that I can investigate large traces AND follow OpenTelemetry best practices for span naming
Problem: High Cardinality in span names vs. UI Observability
When investigating large traces containing hundreds of spans with the same name, it is incredibly difficult to distinguish between them or spot patterns.
Because OpenTelemetry best practices require low-cardinality span names (e.g.,
get_userinstead ofget_user/314159), critical identifying data (likecustomerIdororderId) must be set as span attributes.This creates friction when investigating large traces:
Using high-cardinality span names (e.g., appending
customerIdororderId) would fix the UI issue, but it violates OpenTelemetry standards and duplicates data already stored in attributes.References:
Proposal: "Summary Fields"
A feature similar to Google Cloud Logs Explorer's "Summary Fields" may solve the problem.
This feature would allow users to dynamically select a span attribute (like
customerId) and append or overlay that attribute value next to the span names across the entire trace view.This way users can quickly scan for patterns or specific IDs across hundreds of spans at a glance, without bloating index data or breaking OpenTelemetry low-cardinality best practices.
References:
Open questions
No response