Skip to content

Commit

Permalink
[APM] Fix incorrect table column header (95th instead of avg) (#88188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Jan 13, 2021
1 parent 5181d49 commit d1b348e
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,29 @@ const DEFAULT_SORT = {

function getLatencyAggregationTypeLabel(latencyAggregationType?: string) {
switch (latencyAggregationType) {
case 'avg': {
i18n.translate(
case 'avg':
return i18n.translate(
'xpack.apm.serviceOverview.transactionsTableColumnLatency.avg',
{
defaultMessage: 'Latency (avg.)',
}
);
}
case 'p95': {

case 'p95':
return i18n.translate(
'xpack.apm.serviceOverview.transactionsTableColumnLatency.p95',
{
defaultMessage: 'Latency (95th)',
}
);
}
case 'p99': {

case 'p99':
return i18n.translate(
'xpack.apm.serviceOverview.transactionsTableColumnLatency.p99',
{
defaultMessage: 'Latency (99th)',
}
);
}
}
}

Expand Down

0 comments on commit d1b348e

Please sign in to comment.