[Telemetry] Banner fix (#38769)
* remove always false flag * telemetry banner flag
This commit is contained in:
parent
f5ab2a1701
commit
e5b2239dfb
|
@ -32,6 +32,7 @@ export const telemetry = (kibana: any) => {
|
|||
enabled: Joi.boolean().default(true),
|
||||
// `config` is used internally and not intended to be set
|
||||
config: Joi.string().default(Joi.ref('$defaultConfigPath')),
|
||||
banner: Joi.boolean().default(true),
|
||||
url: Joi.when('$dev', {
|
||||
is: true,
|
||||
then: Joi.string().default(
|
||||
|
@ -66,6 +67,7 @@ export const telemetry = (kibana: any) => {
|
|||
telemetryEnabled: getXpackConfigWithDeprecated(config, 'telemetry.enabled'),
|
||||
telemetryUrl: getXpackConfigWithDeprecated(config, 'telemetry.url'),
|
||||
spacesEnabled: config.get('xpack.spaces.enabled'),
|
||||
telemetryBanner: config.get('xpack.telemetry.banner'),
|
||||
telemetryOptedIn: null,
|
||||
activeSpace: null,
|
||||
};
|
||||
|
|
|
@ -191,6 +191,7 @@ export default async function ({ readConfigFile }) {
|
|||
'--status.allowAnonymous=true',
|
||||
'--server.uuid=5b2de169-2785-441b-ae8c-186a1936b17d',
|
||||
'--xpack.maps.showMapsInspectorAdapter=true',
|
||||
'--xpack.telemetry.banner=false',
|
||||
'--xpack.reporting.queue.pollInterval=3000', // make it explicitly the default
|
||||
'--xpack.reporting.csv.maxSizeBytes=2850', // small-ish limit for cutting off a 1999 byte report
|
||||
'--stats.maximumWaitTimeForAllCollectorsInS=0',
|
||||
|
@ -202,7 +203,6 @@ export default async function ({ readConfigFile }) {
|
|||
uiSettings: {
|
||||
defaults: {
|
||||
'accessibility:disableAnimations': true,
|
||||
'xPackMonitoring:showBanner': false,
|
||||
},
|
||||
},
|
||||
// the apps section defines the urls that
|
||||
|
|
Loading…
Reference in a new issue