Skip to content
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

feat(perf): Update the Spans tab in Transaction Summary #70373

Merged
merged 20 commits into from
May 29, 2024

Conversation

0Calories
Copy link
Contributor

@0Calories 0Calories commented May 6, 2024

Upgrades the Spans tab on the transaction summary to query from the Span metrics dataset and changes the table to have columns more relevant to span metrics.

Before

image

After

image

TODO in followup PRs

  • Searchbar needs to be implemented (and not auto-suggest irrelevant transaction tags that don't work)

@0Calories 0Calories self-assigned this May 6, 2024
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 6, 2024
Copy link

codecov bot commented May 9, 2024

Codecov Report

Attention: Patch coverage is 60.78431% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 77.86%. Comparing base (f1e0f4f) to head (9ae03c4).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #70373      +/-   ##
==========================================
- Coverage   77.86%   77.86%   -0.01%     
==========================================
  Files        6534     6536       +2     
  Lines      291150   291210      +60     
  Branches    50379    50383       +4     
==========================================
+ Hits       226695   226738      +43     
- Misses      58222    58239      +17     
  Partials     6233     6233              
Files Coverage Δ
...transactionSpans/spanSummary/spanSummaryCharts.tsx 0.00% <ø> (ø)
...transactionSpans/spanSummary/spanSummaryHeader.tsx 47.36% <ø> (ø)
.../starfish/components/tableCells/renderHeadCell.tsx 92.00% <100.00%> (ø)
...ctionSummary/transactionSpans/spanMetricsTable.tsx 96.00% <96.00%> (ø)
...onSummary/transactionSpans/spanSummary/content.tsx 0.00% <0.00%> (ø)
...nSummary/transactionSpans/useSpansTabTableSort.tsx 71.42% <71.42%> (ø)
...ce/transactionSummary/transactionSpans/content.tsx 53.33% <5.88%> (-18.76%) ⬇️

... and 6 files with indirect coverage changes

@0Calories 0Calories marked this pull request as ready for review May 22, 2024 16:20
@0Calories 0Calories requested a review from a team as a code owner May 22, 2024 16:20
| SpanMetricsField.SPAN_DESCRIPTION
| 'spm()'
| `avg(${SpanMetricsField.SPAN_DURATION})`
| `sum(${SpanMetricsField.SPAN_SELF_TIME})`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might have to move away from self_time Ash (can be done in a follow up) - let's talk to Ben

const spanOp = decodeScalar(location.query?.spanOp);

const filters: SpanMetricsQueryFilters = {
transaction: transactionName,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this also include transaction op and http op filters?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add this in a followup PR

@0Calories 0Calories merged commit 28357df into master May 29, 2024
43 checks passed
@0Calories 0Calories deleted the feat/new-spans-tab branch May 29, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants