diff --git a/server/routes/notebooks/vizRouter.ts b/server/routes/notebooks/vizRouter.ts index 65447b778e..23a2e1d01a 100644 --- a/server/routes/notebooks/vizRouter.ts +++ b/server/routes/notebooks/vizRouter.ts @@ -24,7 +24,7 @@ export function registerVizRoute(router: IRouter) { request, response ): Promise> => { - addRequestToMetric('notebooks', 'visualization', 'count'); + addRequestToMetric('notebooks', 'fetch_visualization', 'count'); const params: RequestParams.Search = { index: '.kibana', size: NOTEBOOKS_FETCH_SIZE, @@ -44,7 +44,7 @@ export function registerVizRoute(router: IRouter) { body: { savedVisualizations: vizResponse }, }); } catch (error) { - addRequestToMetric('notebooks', 'visualization', error); + addRequestToMetric('notebooks', 'fetch_visualization', error); return response.custom({ statusCode: error.statusCode || 500, body: error.message,