* [ILM] Fixed the bug with built-in policies not saving because of the _meta field
* [ILM] Added PR review suggestions
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Pretty sure the rules only get created in the current kibana space, but the message is plural. Switching to singular.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Fixes `acknowledged.spec.ts` test that is currently failing on some ci builds
### Checklist
Delete any items that are not applicable to this PR.
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
* get back index names in o11y
* testing and integration
* fix types
* Avoid using the rule data client for field list
* Remove left-over index argument
* no needs of alert consumer anymore
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
- Fix, clean up and unit tests for the log log charts x axis duration based ticks. This extends existing duration utilities to support a custom threshold to be able to fine tune the formatting for either single values with more detail or chart axis ticks where less detail is required. This is useful for log axis that cover a wider range of units. As can be seen in the screenshot, axis ticks will be formatted as full seconds from 1s onwards instead of 1,000 ms already up to 10 seconds. Because the threshold parameter is optional and defaults to 10, other uses of getDurationFormatter don't need to be changed.
- Fixes the formatting of the selection badge.
* add isDeprecated to report meta for telemetry
* test clean up
* update snapshots
* Update x-pack/plugins/reporting/server/usage/decorate_range_stats.ts
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
* Trying to get import to work
* Plumbed alerts client through and logging errors
* No longer need the ES cluster client
* Fixing types
* Fixing imports
* Fixing integration tests and refactoring
* Throwing an error when rule registry is disabled
* Reworking alert update and get to catch errors
* Adding tests and fixing errors
* wip add delayed data functional test
* adds delayed data functional test
* add menu check for stability and reorganize functions
* ensure describe block is self contained
* fixes threshold cypress tests
* add ticket command
* fixes threshold cypress tests
* add ticket command
* fixes 'Creates a new case with timeline and opens the timeline' test
* unskips navigation tests
* removes 'sets correct classes when the user starts dragging a host, but is not hovering over the data providers' test since we are not supporting drag and drop on timeline
* removes drag and drop related tests from 'data_providers.spec.ts'
* modifies todo on skipped exceptions tests to add more clarity
* fixes 'attach' to case and local storage test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Migrate Index Management to use internal EuiCodeEditor.
* Migrate Rollup to use internal EuiCodeEditor.
* Migrate Snapshot and Restore to use internal EuiCodeEditor.
* Migrate Watcher to use internal EuiCodeEditor.
* Add default setOptions values to EuiCodeEditor.
* Initial commit
* Rules client to set legacyId when creating a rule in < 8.0.0
* Set legacyId to null on export, change empty state of legacyId from undefined to null
* Fix broken tests
* Refactor create.test.ts to avoid increasing file size
* Fix broken test