mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Remove alerting feature flag from advanced settings (#97265)
* Remove alerting feature flag from advanced settings Make it so the alerting UI in Observability can only be turned on and off in kibana.yml with `xpack.observability.enableAlertingExperience`. We no longer: * Allow turning this on and off for the current space in the advanced settings in Kibana * Allow turning this on on cloud * Send telemetry on whether or not the flag is enabled Add some docs in READMEs as well.
This commit is contained in:
parent
1fc1bcdb08
commit
042fa1a2ce
23 changed files with 84 additions and 46 deletions
|
@ -31,6 +31,8 @@ export const core = ({
|
|||
},
|
||||
} as unknown) as CoreStart;
|
||||
|
||||
const config = { unsafe: { alertingExperience: { enabled: true } } };
|
||||
|
||||
const plugins = ({
|
||||
data: { query: { timefilter: { timefilter: { setTime: jest.fn() } } } },
|
||||
} as unknown) as ObservabilityPublicPluginsStart;
|
||||
|
@ -42,7 +44,7 @@ export const render = (component: React.ReactNode) => {
|
|||
<IntlProvider locale="en-US" messages={translations.messages}>
|
||||
<KibanaContextProvider services={{ ...core }}>
|
||||
<PluginContext.Provider
|
||||
value={{ appMountParameters, core, plugins, observabilityRuleRegistry }}
|
||||
value={{ appMountParameters, config, core, plugins, observabilityRuleRegistry }}
|
||||
>
|
||||
<EuiThemeProvider>{component}</EuiThemeProvider>
|
||||
</PluginContext.Provider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue