[APM] Fix incorrect table column header (95th instead of avg) (#88188)
This commit is contained in:
parent
5181d49c05
commit
d1b348e621
|
@ -55,23 +55,23 @@ 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',
|
||||
{
|
||||
|
@ -79,7 +79,6 @@ function getLatencyAggregationTypeLabel(latencyAggregationType?: string) {
|
|||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function ServiceOverviewTransactionsTable(props: Props) {
|
||||
|
|
Loading…
Reference in a new issue