Skip to content
/ kibana Public
forked from elastic/kibana

Commit

Permalink
Fix service map popover transaction duration (elastic#58422)
Browse files Browse the repository at this point in the history
It's already microseconds, so not converting it fixes it.

Checked services to see if all metrics match now and they do!

Fixes elastic#55679
  • Loading branch information
smith committed Feb 26, 2020
1 parent b1f6cc2 commit caad642
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ import { isNumber } from 'lodash';
import React from 'react';
import styled from 'styled-components';
import { ServiceNodeMetrics } from '../../../../../../../../plugins/apm/common/service_map';
import {
asDuration,
asPercent,
toMicroseconds,
tpmUnit
} from '../../../../utils/formatters';
import { asDuration, asPercent, tpmUnit } from '../../../../utils/formatters';

function LoadingSpinner() {
return (
Expand Down Expand Up @@ -70,7 +65,7 @@ export function ServiceMetricList({
}
),
description: isNumber(avgTransactionDuration)
? asDuration(toMicroseconds(avgTransactionDuration, 'milliseconds'))
? asDuration(avgTransactionDuration)
: null
},
{
Expand Down

0 comments on commit caad642

Please sign in to comment.