kibana/x-pack/test
Nathan L Smith f4a95f9b97
Alert creation and freeform selection (#111883)
Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.

- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.


![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)

Fixes #106786
2021-09-29 11:18:44 -05:00
..
accessibility
alerting_api_integration [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
api_integration Short URLs (#107859) 2021-09-28 10:34:25 +02:00
api_integration_basic
apm_api_integration Alert creation and freeform selection (#111883) 2021-09-29 11:18:44 -05:00
banners_functional
case_api_integration [Cases] Check cases configuration on functional testing (#112968) 2021-09-23 18:47:54 +03:00
cloud_integration
common
detection_engine_api_integration [CI] Balance CI Groups (#112836) 2021-09-22 15:42:01 -04:00
encrypted_saved_objects_api_integration
endpoint_api_integration_no_ingest
examples
fleet_api_integration
fleet_functional
functional skip suite failing es promotion (#113439) 2021-09-29 15:46:56 +00:00
functional_basic
functional_cors remove last usages of plugin async lifecycles (#112111) 2021-09-21 10:34:57 +02:00
functional_embedded skip flaky suite. #70928 2021-09-23 14:36:12 -05:00
functional_enterprise_search
functional_execution_context
functional_vis_wizard
functional_with_es_ssl skip flaky suite. #112749 2021-09-23 10:32:40 -05:00
licensing_plugin
lists_api_integration
load
observability_api_integration
observability_functional [RAC] [Observability] Functional tests for cell actions (#111963) 2021-09-20 15:56:13 +01:00
osquery_cypress
performance
plugin_api_integration [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
plugin_api_perf [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
plugin_functional [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
reporting_api_integration [Reporting] Stabilize CSV export tests (#112204) 2021-09-27 11:44:29 -07:00
reporting_functional
rule_registry [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
saved_object_api_integration [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
saved_object_tagging
saved_objects_field_count
search_sessions_integration skip flaky suite. #112913 2021-09-23 10:16:31 -05:00
security_api_integration [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
security_functional
security_solution_cypress Bump cypress@8.4.1 (#104301) 2021-09-28 15:07:54 +02:00
security_solution_endpoint skip flaky suite. #100296 2021-09-26 16:06:40 -05:00
security_solution_endpoint_api_int [Security Solution] update endpoint list api to support united index (#112758) 2021-09-27 14:51:31 -05:00
security_solution_ftr/page_objects
spaces_api_integration [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
stack_functional_integration [Stack Functional Integration] Add minimal hearbeat tests (#112986) 2021-09-23 22:02:41 +02:00
timeline
ui_capabilities
upgrade
upgrade_assistant_integration
usage_collection remove last usages of plugin async lifecycles (#112111) 2021-09-21 10:34:57 +02:00
visual_regression
tsconfig.json