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

[APM] Fixes inconsistent labels for throughput & latency #88101

Merged
merged 5 commits into from
Jan 13, 2021

Conversation

ogupte
Copy link
Contributor

@ogupte ogupte commented Jan 12, 2021

Closes #87483. Updates several labels to be consistent across views.

Screen Shot 2021-01-13 at 11 53 49 AM
Screen Shot 2021-01-13 at 11 54 17 AM

@ogupte ogupte added release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 labels Jan 12, 2021
@ogupte ogupte requested a review from a team as a code owner January 12, 2021 21:27
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jan 12, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

Copy link
Contributor

@formgeist formgeist left a comment

Choose a reason for hiding this comment

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

Perhaps the description of the issue wasn't clear enough, but we should align everywhere else to the Service overview labels. I've suggested some changes. Beyond this, I found a few issues, perhaps we can fix these in this PR.

  • Rename the "Average duration by span type". Somehow we renamed the panel, but never changed the chart, so the title is actually misleading. We should "revert" back to the original title; "Time spent by span type".

Screenshot 2021-01-13 at 11 33 39

Screenshot 2021-01-13 at 11 36 04

  • The Latency visualization is set to "Average" but the label in the table says "95th". Not sure when this was introduced, but it's reproducible on master.

Screenshot 2021-01-13 at 11 35 42

cc @sqren

{
defaultMessage: 'Trans. per minute',
defaultMessage: 'Traffic (per min)',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
defaultMessage: 'Traffic (per min)',
defaultMessage: 'Traffic',

@sorenlouv
Copy link
Member

sorenlouv commented Jan 13, 2021

The Latency visualization is set to "Average" but the label in the table says "95th". Not sure when this was introduced, but it's reproducible on master.

@formgeist: Good catch! I've fixed it in #88188

@ogupte ogupte changed the title [APM] Fixes inconsistent labels for traffic & latency [APM] Fixes inconsistent labels for throughput & latency Jan 13, 2021
Copy link
Contributor

@formgeist formgeist left a comment

Choose a reason for hiding this comment

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

Thanks for the changes 👍

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 5.4MB 5.4MB -426.0B
observability 163.2KB 163.2KB -6.0B
total -432.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@ogupte ogupte merged commit 5ed9158 into elastic:master Jan 13, 2021
ogupte added a commit to ogupte/kibana that referenced this pull request Jan 13, 2021
* Closes elastic#87483. Updates several labels to be consistent accross views.

* Updates integration tests/snapshots with new term

* Changes "traffic" => "throughput" in the labels

* addresses feedback from PR

* includes tpm unit in Observability overview page and updates test
ogupte added a commit to ogupte/kibana that referenced this pull request Jan 13, 2021
* Closes elastic#87483. Updates several labels to be consistent accross views.

* Updates integration tests/snapshots with new term

* Changes "traffic" => "throughput" in the labels

* addresses feedback from PR

* includes tpm unit in Observability overview page and updates test
@@ -75,7 +75,7 @@ const traceListColumns: Array<ITableColumn<TraceGroup>> = [
render: (time: number) => asMillisecondDuration(time),
},
{
field: 'trafficPerMinute',
field: 'transactionsPerMinute',
Copy link
Member

@sorenlouv sorenlouv Jan 13, 2021

Choose a reason for hiding this comment

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

Shouldn't this have been changed to throughput instead of transactionsPerMinute?

@@ -41,7 +41,7 @@ describe('ServiceList', () => {
const service: any = {
serviceName: 'opbeans-python',
agentName: 'python',
trafficPerMinute: {
transactionsPerMinute: {
Copy link
Member

Choose a reason for hiding this comment

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

throughput

)}
</span>
</EuiTitle>
<TimeseriesChart
fetchStatus={throughputChartsStatus}
id="trafficPerMinute"
id="transactionsPerMinute"
Copy link
Member

Choose a reason for hiding this comment

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

throughput

ogupte added a commit that referenced this pull request Jan 14, 2021
…8264)

* Closes #87483. Updates several labels to be consistent accross views.

* Updates integration tests/snapshots with new term

* Changes "traffic" => "throughput" in the labels

* addresses feedback from PR

* includes tpm unit in Observability overview page and updates test
ogupte added a commit that referenced this pull request Jan 14, 2021
…8266)

* Closes #87483. Updates several labels to be consistent accross views.

* Updates integration tests/snapshots with new term

* Changes "traffic" => "throughput" in the labels

* addresses feedback from PR

* includes tpm unit in Observability overview page and updates test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support v7.11.0 v7.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Consistent terminology between service inventory and transaction overview
5 participants