microsoft / microsoft/aspire

Consider grouping & collapsing identical sequential activities in the trace view and annotating with a count badge

Open
#6,551 0 comments 1 reaction 0 assignees View on GitHub
area-dashboard
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

In apps that use background services to do things like poll a queue for new messages, the traces view can get filled very quickly with identical-looking activities. The image below is from a sample being built that uses Azure Functions and polls a storage queue every second for changes:

![Image](https://github.com/user-attachments/assets/72b28660-0657-46d1-9d39-367c8f49f3f6)

We should consider adopting a UX whereby trace activities from the same resource with the same spans are grouped into a single row and a badge is displayed showing the count. This is similar to what the Chrome/Edge browser tools do in the Console pane for repeated messages:

![Image](https://github.com/user-attachments/assets/54d58510-efb2-40bf-b82d-49d6ba9a027d)

The collapsed row would be expanded when clicked. In this way it's essentially another example of auto-grouping items in our grid views.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.