kibana/x-pack/plugins/observability
Nathan L Smith 042fa1a2ce
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.
2021-04-19 22:09:51 -05:00
..
.storybook Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
common Remove alerting feature flag from advanced settings (#97265) 2021-04-19 22:09:51 -05:00
public Remove alerting feature flag from advanced settings (#97265) 2021-04-19 22:09:51 -05:00
scripts Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
server Remove alerting feature flag from advanced settings (#97265) 2021-04-19 22:09:51 -05:00
typings [Exploratory view] Improve/Polish components usage (#96782) 2021-04-15 11:55:57 +02:00
jest.config.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
kibana.json [RAC] Populate Observability alerts table with data from alerts indices (#96692) 2021-04-15 18:25:50 +02:00
README.md Remove alerting feature flag from advanced settings (#97265) 2021-04-19 22:09:51 -05:00
tsconfig.json [RAC] Populate Observability alerts table with data from alerts indices (#96692) 2021-04-15 18:25:50 +02:00

Observability plugin

This plugin provides shared components and services for use across observability solutions, as well as the observability landing page UI.

Rules, Alerts, and Cases

The Observability plugin contains experimental support for improved alerting and case management.

If you have:

xpack.observability.unsafe.alertingExperience.enabled: true

In your Kibana configuration, the Alerts and Cases pages will be available.

This will only enable the UI for these pages. In order to have alert data indexed you'll need to enable writing in the Rule Registry plugin:

xpack.ruleRegistry.unsafe.write.enabled: true

When both of the these are set to true, your alerts should show on the alerts page.

Unit testing

Note: Run the following commands from kibana/x-pack/plugins/observability.

Run unit tests

npx jest --watch

Update snapshots

npx jest --updateSnapshot

Coverage

HTML coverage report can be found in target/coverage/jest after tests have run.

open target/coverage/jest/index.html