diff --git a/x-pack/plugins/uptime/public/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.ts b/x-pack/plugins/uptime/public/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.ts index b3ea2b468d00e..7e23af9c25ba9 100644 --- a/x-pack/plugins/uptime/public/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.ts +++ b/x-pack/plugins/uptime/public/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.ts @@ -38,7 +38,7 @@ export const useStepWaterfallMetrics = ({ checkGroup, hasNavigationRequest }: Pr }, { term: { - 'synthetics.type': 'journey/metrics', + 'synthetics.type': 'step/metrics', }, }, ], @@ -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;