[Lens] Deprecate and remove Lens field list sampling strategy (#139828)

* [Lens] Deprecate and remove Lens field list sampling strategy

Closes: #136798

* cleanup

* fix CI

* cleanup

* update messages

* update badge

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Alexey Antonov 2022-09-07 22:54:43 +03:00 committed by GitHub
parent a05fab06ea
commit c771828242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 178 additions and 64 deletions

View file

@ -25,6 +25,12 @@ export const getUiSettings: () => Record<string, UiSettingsParams> = () => ({
'If enabled, document sampling is used to determine field existence (available or empty) for the Lens field list instead of relying on index mappings.',
}
),
deprecation: {
message: i18n.translate('xpack.lens.advancedSettings.useFieldExistenceSampling.deprecation', {
defaultMessage: 'This setting is deprecated and will not be supported as of 8.6.',
}),
docLinksKey: 'visualizationSettings',
},
category: ['visualization'],
schema: schema.boolean(),
},