Skip to content

[7.x] [Alerting] Preconfigured alert history index connector (#94909)#96672

Closed
kibanamachine wants to merge 2 commits intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-94909
Closed

[7.x] [Alerting] Preconfigured alert history index connector (#94909)#96672
kibanamachine wants to merge 2 commits intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-94909

Conversation

@kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

* Adding preconfigured alert history index

* Adding functions to build alert history document

* Adding functions to build alert history document

* Moving index template creation to plugin start

* Adding unit tests

* Adding unit tests

* Adding unit tests

* Simplifying

* Revert "Merge branch 'master' of https://github.com/elastic/kibana into alerting/default-es-index-schema"

This reverts commit 957c333, reversing
changes made to 4b1b787.

* Reverting some changes

* Reverting some changes

* Adding index override

* Updating UI with index override

* Only allow indexOverride for preconfigured alert history connector

* Handling preconfigured connector id clashes

* Cleanup

* UI unit tests

* Fixing default schema shown in UI

* Fixing functional tests

* Adding functional test

* Fixing functional tests

* Adding docs and link to docs

* Adding config to docker allowlist

* Fixing wrong typescript operator

* Changing default for config to false

* Cleanup

* Adding note about index privileges to docs

* Fixing i18n

* PR fixes

* PR fixes

* PR fixes

* PR fixes - wording

* PR fixes

* Fixing unit and functional tests

* Fixing types check

* ES -> Elasticsearch

* Moving files

* Adding kibana- to beginning of prefix

* Namespacing alert data within schema with kibana

* Fix i18n

* Updating docs

* Fixing unit tests

* Fixing doc links

* Fixing types check

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 8, 2021
@kibanamachine kibanamachine enabled auto-merge (squash) April 8, 2021 22:21
@ymao1
Copy link
Contributor

ymao1 commented Apr 9, 2021

@elasticmachine merge upstream

@ymao1 ymao1 disabled auto-merge April 9, 2021 02:06
@ymao1 ymao1 closed this Apr 9, 2021
@kibanamachine
Copy link
Contributor Author

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
triggersActionsUi 364 365 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.5MB 1.5MB +4.2KB
uptime 985.4KB 985.4KB +19.0B
total +4.2KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 374.8KB 374.9KB +156.0B
triggersActionsUi 100.3KB 105.0KB +4.7KB
total +4.9KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @ymao1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants