kibana/x-pack/test/apm_api_integration
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
..
basic Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
common [APM] Show badge for failed spans in waterfall (#109812) 2021-09-08 23:37:28 +02:00
configs [APM] Mark old api test client as legacy (#110974) 2021-09-07 00:39:45 +02:00
rules [RAC] Rule registry plugin (#95903) 2021-04-09 10:35:44 +02:00
tests Alert creation and freeform selection (#111883) 2021-09-29 11:18:44 -05:00
trial Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
utils.ts [APM] Break down transaction table api removing the sparklines (#88946) 2021-02-12 11:57:01 +01:00