-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Trace:Details Enhance span status filter functionality #10742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trace:Details Enhance span status filter functionality #10742
Conversation
Signed-off-by: Nathan Yang <[email protected]>
|
Required follow ups to this change:
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #10742 +/- ##
=======================================
Coverage 60.46% 60.47%
=======================================
Files 4482 4483 +1
Lines 120061 120107 +46
Branches 19884 19897 +13
=======================================
+ Hits 72596 72631 +35
- Misses 42425 42435 +10
- Partials 5040 5041 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Nathan Yang <[email protected]>
f0bcadc to
9bdf598
Compare
|
|
Just a reminder: DO NOT merge this PR. Merge #10745 instead. |
Description
Replace singular "Error filter" with new Span status filter that can filter for : Error, OK, or Unset statuses.
SpanStatusFilternew component with popover containing selectable status filters. If there are multiple status filters selected ANDs them together, which follows established "Meta data" filtering behavior for trace detailsapplySpanFiltersutil to handle all span statuses, not just Error. Uses the same logic as the span detail flyout for determining Ok and Error. Just uses thespan.status.codedirectly for determining Unset, so there can be overlap between Unset and Error or Unset and Ok, but that is expected.TraceDetailTabsSpanStatusFiltertoSpanHierarchyTablesecondary toolbarIssues Resolved
SpanDetailPanelScreenshot
Old behavior with "Error filter"

New behavior with added functionality from Span status filter

Testing the changes
"status": { "code": "UNSET" }is presentChangelog
Check List
yarn test:jestyarn test:jest_integration