kibana/x-pack/plugins/observability
2021-05-13 17:35:38 -04:00
..
.storybook
common [RAC] Decouple registry from alerts-as-data client (#98935) 2021-05-13 17:12:47 +02:00
public fix-typo: Use of than instead of then (#100030) 2021-05-13 17:35:38 -04:00
scripts
server [RAC] Decouple registry from alerts-as-data client (#98935) 2021-05-13 17:12:47 +02:00
typings [Uptime] Add Custom Fleet Integration UI (#91584) 2021-04-20 13:33:46 -04:00
jest.config.js
kibana.json [RAC] Decouple registry from alerts-as-data client (#98935) 2021-05-13 17:12:47 +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