diff --git a/src/plugins/vis_types/timeseries/common/constants.ts b/src/plugins/vis_types/timeseries/common/constants.ts index 5e653df857eb9..beeb90e5eb722 100644 --- a/src/plugins/vis_types/timeseries/common/constants.ts +++ b/src/plugins/vis_types/timeseries/common/constants.ts @@ -15,8 +15,8 @@ export const SERIES_SEPARATOR = '╰┄►'; export const INDEXES_SEPARATOR = ','; export const AUTO_INTERVAL = 'auto'; export const ROUTES = { - VIS_DATA: '/api/metrics/vis/data', - FIELDS: '/api/metrics/fields', + VIS_DATA: '/internal/metrics/vis/data', + FIELDS: '/internal/metrics/fields', }; export const USE_KIBANA_INDEXES_KEY = 'use_kibana_indexes'; export const TSVB_DEFAULT_COLOR = '#68BC00'; diff --git a/x-pack/test/scalability/apis/api.metrics.vis.data.json b/x-pack/test/scalability/apis/api.metrics.vis.data.json index 37ba4bc74c6c4..3ecec2778edd8 100644 --- a/x-pack/test/scalability/apis/api.metrics.vis.data.json +++ b/x-pack/test/scalability/apis/api.metrics.vis.data.json @@ -1,5 +1,5 @@ { - "journeyName": "POST /api/metrics/vis/data", + "journeyName": "POST /internal/metrics/vis/data", "scalabilitySetup": { "responseTimeThreshold": { "threshold1": 5000, @@ -33,7 +33,7 @@ { "http": { "method": "POST", - "path": "/api/metrics/vis/data", + "path": "/internal/metrics/vis/data", "headers": { "Cookie": "", "Kbn-Version": "",