Skip to content

Commit

Permalink
update to step/metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Sep 28, 2021
1 parent 3cf399d commit cc3f0cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const useStepWaterfallMetrics = ({ checkGroup, hasNavigationRequest }: Pr
},
{
term: {
'synthetics.type': 'journey/metrics',
'synthetics.type': 'step/metrics',
},
},
],
Expand All @@ -55,7 +55,7 @@ export const useStepWaterfallMetrics = ({ checkGroup, hasNavigationRequest }: Pr
const metrics: MarkerItems = [];

if (data && hasNavigationRequest) {
const metricDocs = (data.hits.hits as unknown) as Array<{ fields: any }>;
const metricDocs = data.hits.hits as unknown as Array<{ fields: any }>;
let navigationStart = 0;
let navigationStartExist = false;

Expand Down

0 comments on commit cc3f0cb

Please sign in to comment.