[APM] Fixes incorrect index config names (#114901) (#114904)

This commit is contained in:
Oliver Gupte 2021-10-13 18:46:04 -04:00 committed by GitHub
parent 493b408673
commit e5576d688d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 180 additions and 180 deletions

View file

@ -211,12 +211,12 @@ kibana_vars=(
xpack.alerts.invalidateApiKeysTask.interval
xpack.alerts.invalidateApiKeysTask.removalDelay
xpack.apm.enabled
xpack.apm.indices.errors
xpack.apm.indices.metrics
xpack.apm.indices.error
xpack.apm.indices.metric
xpack.apm.indices.onboarding
xpack.apm.indices.sourcemaps
xpack.apm.indices.spans
xpack.apm.indices.transactions
xpack.apm.indices.sourcemap
xpack.apm.indices.span
xpack.apm.indices.transaction
xpack.apm.maxServiceEnvironments
xpack.apm.searchAggregatedTransactions
xpack.apm.serviceMapEnabled

View file

@ -19,12 +19,12 @@ describe('No data screen', () => {
url: apmIndicesSaveURL,
method: 'POST',
body: {
sourcemaps: 'foo-*',
errors: 'foo-*',
sourcemap: 'foo-*',
error: 'foo-*',
onboarding: 'foo-*',
spans: 'foo-*',
transactions: 'foo-*',
metrics: 'foo-*',
span: 'foo-*',
transaction: 'foo-*',
metric: 'foo-*',
},
headers: {
'kbn-xsrf': true,
@ -49,12 +49,12 @@ describe('No data screen', () => {
url: apmIndicesSaveURL,
method: 'POST',
body: {
sourcemaps: '',
errors: '',
sourcemap: '',
error: '',
onboarding: '',
spans: '',
transactions: '',
metrics: '',
span: '',
transaction: '',
metric: '',
},
headers: { 'kbn-xsrf': true },
auth: { user: 'apm_power_user', pass: 'changeme' },

View file

@ -119,12 +119,12 @@ interface MockSetup {
config: APMConfig;
uiFilters: UxUIFilters;
indices: {
sourcemaps: string;
errors: string;
sourcemap: string;
error: string;
onboarding: string;
spans: string;
transactions: string;
metrics: string;
span: string;
transaction: string;
metric: string;
apmAgentConfigurationIndex: string;
apmCustomLinkIndex: string;
};
@ -176,12 +176,12 @@ export async function inspectSearchParams(
) as APMConfig,
uiFilters: {},
indices: {
sourcemaps: 'myIndex',
errors: 'myIndex',
sourcemap: 'myIndex',
error: 'myIndex',
onboarding: 'myIndex',
spans: 'myIndex',
transactions: 'myIndex',
metrics: 'myIndex',
span: 'myIndex',
transaction: 'myIndex',
metric: 'myIndex',
apmAgentConfigurationIndex: 'myIndex',
apmCustomLinkIndex: 'myIndex',
},

View file

@ -189,22 +189,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -216,22 +216,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -214,22 +214,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -206,22 +206,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -202,22 +202,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -198,22 +198,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -229,22 +229,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -199,22 +199,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -254,22 +254,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -260,22 +260,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -261,22 +261,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -275,22 +275,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -169,22 +169,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -198,22 +198,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -199,22 +199,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -199,22 +199,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -199,22 +199,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -198,22 +198,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -198,22 +198,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -198,22 +198,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -189,22 +189,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -181,22 +181,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -196,22 +196,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -193,22 +193,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -214,22 +214,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -170,22 +170,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -172,22 +172,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -272,22 +272,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -276,22 +276,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -273,22 +273,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}

View file

@ -254,22 +254,22 @@
},
"apm-indices": {
"properties": {
"errors": {
"error": {
"type": "keyword"
},
"metrics": {
"metric": {
"type": "keyword"
},
"onboarding": {
"type": "keyword"
},
"sourcemaps": {
"sourcemap": {
"type": "keyword"
},
"spans": {
"span": {
"type": "keyword"
},
"transactions": {
"transaction": {
"type": "keyword"
}
}