Skip to content

Commit

Permalink
moving tsvb routes to /internal prefix (#159296)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jun 15, 2023
1 parent 8e5440e commit afc9613
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/plugins/vis_types/timeseries/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/scalability/apis/api.metrics.vis.data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"journeyName": "POST /api/metrics/vis/data",
"journeyName": "POST /internal/metrics/vis/data",
"scalabilitySetup": {
"responseTimeThreshold": {
"threshold1": 5000,
Expand Down Expand Up @@ -33,7 +33,7 @@
{
"http": {
"method": "POST",
"path": "/api/metrics/vis/data",
"path": "/internal/metrics/vis/data",
"headers": {
"Cookie": "",
"Kbn-Version": "",
Expand Down

0 comments on commit afc9613

Please sign in to comment.