Commit graph

44240 commits

Author SHA1 Message Date
Kibana Machine
04fd82e140
[APM] Clean up readme (#110973) (#111237)
* [APM] Clean up readme

* Update linting.md

* Update testing.md

* Update testing.md

* Update testing.md

* Update plugin-list.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-09-05 20:00:02 +00:00
Kibana Machine
31fe1eba23
[Cases] Fix connector information disappearing (#110914) (#111178)
* Move intialization to use effect

* Fixing fields can't get test working

* Fix tests

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>

Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2021-09-04 11:26:01 +00:00
Kibana Machine
495c3fb1a0
[Alerting][Docs] Add de-duplication example to ES query docs + update email docs wording (#111026) (#111226)
* Change to allowlist

* Adding example to es query rule

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-03 18:59:44 -04:00
Kibana Machine
7336717d61
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule (#110620) (#111217)
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule

* chore(NA): update @kbn/ace build to exclude worker file

* chore(NA): remove config file support

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-09-03 18:41:32 -04:00
Tyler Smalley
7e096a0a79
[ci] Removes all verbose flags (#110842) (#111216)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-03 18:34:44 -04:00
CJ Cenizal
1a74022b02
Use injected lib.handleEsError instead of importing it in Upgrade Assistant API route handlers. (#111067) 2021-09-03 14:05:39 -07:00
Michael Dokolin
06ca0c78c5
[Expressions] Align renderMode with the embeddable viewMode (#110199) (#111186)
* Add preview view mode to the embeddable
* Rename display render mode to view
* Extract no interactivity render mode to a separate flag
2021-09-03 16:31:15 -04:00
Tim Roes
2f51a4121c
Change Graph ownership (#111157) (#111187)
# Conflicts:
#	.github/CODEOWNERS
2021-09-03 15:41:05 -04:00
Kibana Machine
ec247255a5
[ML] Fix issue with AD data points not showing up because missing indices (#110899) (#111189)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2021-09-03 15:30:31 -04:00
Kibana Machine
dd3357f5ac
[Docs] Logging settings: add explanation of appenders, loggers and root (#111013) (#111204)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-09-03 15:16:55 -04:00
Kibana Machine
5d32b880ac
[ML] Add API integration tests for start and stop datafeeds (#110961) (#111167)
* [ML] Add API integration tests for start and stop datafeeds

* [ML] Edits to setup and clean-up steps following review

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2021-09-03 13:56:50 -04:00
Jean-Louis Leysens
b7e8c0d6d6
[Reporting/Visualization] Migrate Visualize to V2 reporting (#110206) (#111164)
* added initial version of locator

* removed unused params and added jest test

* updated functional test to expect PDF reports to be available when vis is new

* fix TS: remove unkown field

* added some docs and removed unused code

* AggsConfigOption -> AggsConfigSerialized

* moved locator to common

* fixed building of "create" path and updated test snapshots

* updated import

* update encoding behaviour

* added time range from timefilter to locator params request

* add index pattern and search id to URL params

* reading index pattern from search source if it is there for the locator

* remove "type" from locator params, update comments and test

* removed duplicate identifier

* remove unused type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 13:28:50 -04:00
Kibana Machine
9cf311a720
[Security Solutions][Detection Engine] Adds ability to ignore fields during alert indexing and a workaround for an EQL bug (#110927) (#111156)
## Summary

Adds a workaround for EQL bug: https://github.com/elastic/elasticsearch/issues/77152
Adds the safety feature mentioned here: https://github.com/elastic/kibana/issues/110802

Adds the ability to ignore particular [fields](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html#search-fields-param) when the field is merged with [_source](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html#source-filtering). Also fixes an EQL bug where EQL is introducing the meta field of `_ignored` within the fields and causing documents to not be indexable when we merge with the fields from EQL. 

Alerting document creation uses the fields API to get [runtime field](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html),  [constant keyword](https://www.elastic.co/guide/en/elasticsearch/reference/master/keyword.html#constant-keyword-field-type), etc... that are only available within the [fields API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html#search-fields-param) and then merges the field values not found within the `_source` document with the `_source` document and then finally indexes this merged document as an alert document.

This fix/ability is a "safety feature" in that if a problematic [runtime field](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html), [constant keyword](https://www.elastic.co/guide/en/elasticsearch/reference/master/keyword.html#constant-keyword-field-type) is discovered or another bug along the stack we can set a `kibana.yml` key/value pair to ignore the problematic field.

This _WILL NOT_ remove problematic fields from the `_source` document. This will only ignore problematic constant keyword, runtime fields, aliases, or anything else found in the fields API that is causing merge issues.

This PR:
  * Adds a `alertIgnoreFields` `kibana.yml` array key with a default of an empty array if not specified. 
  * Plumbs the `alertIgnoreFields` through the stack and into the fields/_source merge strategies of `missingFields` and `allFields`
  * Adds a temporary `isEqlBug77152` where it hard codes an ignore of `_ignored` until the EQL problem is fixed and then we will remove the workaround
  * Adds unit tests
  * Adds e2e tests which covers the described use cases above.

The `alertIgnoreFields` key/value within `kibana.yml` if set should be an array of strings of each field you want to ignore. This can also contain regular expressions as long as they are of the form, `"/regex/"` in the array.

Example if you want to ignore fields that are problematic called "host.name" and then one in which you want to ignore all fields that start with "user." using a regular expression:

```yml
xpack.securitySolution.alertIgnoreFields: ['host.name', '/user\..*/']
``` 

Although there are e2e tests which exercise the use cases...

If you want to manual test the EQL bug fix you would add these documents in dev tools:

```json
# Delete and add a mapping with a small ignore_above.
DELETE eql-issue-ignore-fields-delme
PUT eql-issue-ignore-fields-delme
{
  "mappings" : {
    "dynamic": "strict",
    "properties" : {
      "@timestamp": {
        "type": "date"
      },
      "some_keyword" : {
        "ignore_above": 5, 
        "type" : "keyword"
      },
      "other_keyword" : {
        "ignore_above": 10, 
        "type" : "keyword"
      }
    }
  }
}

# Add a single document with one field that will be truncated and a second that will not.
PUT eql-issue-ignore-fields-delme/_doc/1
{
  "@timestamp": "2021-09-02T04:13:05.626Z",
  "some_keyword": "longer than normal",
  "other_keyword": "normal"
}
```

Then create an alert which queries everything from it:
<img width="1155" alt="Screen Shot 2021-09-01 at 10 15 06 PM" src="https://user-images.githubusercontent.com/1151048/131781042-faa424cf-65a5-4ebb-b801-3f188940c81d.png">

and ensure signals are created:
<img width="2214" alt="Screen Shot 2021-09-01 at 10 30 18 PM" src="https://user-images.githubusercontent.com/1151048/131782069-b9ab959c-f22d-44d5-baf0-561fe349c037.png">

To test the manual exclusions of any other problematic fields, create any index which has runtime fields or `constant keywords` but does not have anything within the `_source` document using dev tools. For example you can use `constant keyword` like so

```json
PUT constant-keywords-deleme
{
  "mappings": {
    "dynamic": "strict",
    "properties": {
      "@timestamp": {
        "type": "date"
      },
      "testing_ignored": {
        "properties": {
          "constant": {
            "type": "constant_keyword",
            "value": "constant_value"
          }
        }
      },
      "testing_regex": {
        "type": "constant_keyword",
        "value": "constant_value"
      },
      "normal_constant": {
        "type": "constant_keyword",
        "value": "constant_value"
      },
      "small_field": {
        "type": "keyword",
        "ignore_above": 10
      }
    }
  }
}

PUT constant-keywords-deleme/_doc/1
{
  "@timestamp": "2021-09-02T04:20:01.760Z"
}
```

Set in your `kibana.yml` the key/value of:

```yml
xpack.securitySolution.alertIgnoreFields: ['testing_ignored.constant', '/.*_regex/']
```

Setup a rule to run:
<img width="1083" alt="Screen Shot 2021-09-01 at 10 23 23 PM" src="https://user-images.githubusercontent.com/1151048/131781696-fea0d421-836f-465c-9be6-5289fbb622a4.png">

Once it runs you should notice that the constant values for testing are not on the signals table since it only typically exists in the fields API:
<img width="1166" alt="Screen Shot 2021-09-01 at 10 26 16 PM" src="https://user-images.githubusercontent.com/1151048/131781782-1684fb1d-bed9-4cf0-be9a-0abe1f0f34d1.png">

But the normal one still exists:
<img width="1136" alt="Screen Shot 2021-09-01 at 10 26 31 PM" src="https://user-images.githubusercontent.com/1151048/131781827-5450c693-de9e-4285-b082-9f7a2cbd5d07.png">

If you change the `xpack.securitySolution.alertIgnoreFields` by removing it and re-generate the signals you will see these values added back.

### 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
- [x] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-09-03 17:12:02 +00:00
Kibana Machine
8638e482b7
[Lens] Switch to SavedObjectClient.resolve (#110059) (#111159)
* Step 2: Update client code to use resolve() method instead of get()

Following sharing Saved Objects developer guide: Step 2
This step demonstrates the changes to update client code to use the new
SavedObjectsClient `resolve()` method instead of `get()`.

* Step 3 Lens

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-03 13:11:49 -04:00
Kibana Machine
d3b8289466
Handle bulkGet errors on package retrieval from ES storage (#111114) (#111148)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-09-03 16:22:22 +00:00
ymao1
ef2e1306f4
[Actions] Allowing service specification in email connector config (#110458) (#111146)
* Initial commit of serverType in email connector config

* Fleshing in route to get well known email service configs from nodemailer

* Adding elastic cloud to well known server type

* Cleaning up email constants and allowing for empty selection

* Showing error if user doesn't select server type

* Adding hook for setting email config based on server type

* Adding tests and making sure settings are not overwritten on edit

* Fixing functional test

* Adding migration

* Adding functional test for migration

* Repurposing service instead of adding serverType

* Cleanup

* Disabling host/port/secure form fields when settings retrieved from API

* Updating docs for service

* Filtering options based on whether cloud is enabled

* Initialize as disabled

* Fixing types

* Update docs/management/connectors/action-types/email.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts
#	x-pack/plugins/actions/server/saved_objects/actions_migrations.ts
2021-09-03 12:20:31 -04:00
Kibana Machine
54d1f9d9b4
[Lens] Fix transition to custom palette inconsistency when in number mode (#110852) (#111144)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-09-03 12:18:51 -04:00
Nick Partridge
8648a0c2b2
[ML] fix heatmap label colors (#110515) (#111141) 2021-09-03 12:03:00 -04:00
Domenico Andreoli
fa3ab41b6b
[7.x] Realign cypress/ccs_integration with cypress/integration (#111138) 2021-09-03 11:59:41 -04:00
Kibana Machine
51abf3ccd3
catch errors from providers (#111093) (#111118)
Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-03 11:56:18 -04:00
Kibana Machine
0b69a1109c
[ML] Job import and export functional tests (#110578) (#111128)
* [ML] Job import export functional tests

* adding title check

* adding dfa tests

* removing export file

* adds bad data test

* commented code

* adding export job tests

* adds version to file names

* improving tests

* removing comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-09-03 15:28:16 +00:00
Christos Nasikas
c696ef968f
[Cases] Do not show status dropdown on modal cases selector (#111101) (#111129) 2021-09-03 11:26:24 -04:00
Kibana Machine
39e8d0ee59
[Uptime] [Synthetics Integration] fix content typo (#110088) (#111125)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-09-03 11:08:55 -04:00
Kerry Gallagher
c8d11e1bc3
Update alert documents when the write index changes (#110788) (#111122)
* first draft(work in progress)

* add back missing await

* disable require_alias flag only when we update

* cleanup

Co-authored-by: mgiota <giota85@gmail.com>
2021-09-03 11:03:57 -04:00
Kibana Machine
ec6f0f73ac
[Security Solution][Endpoint] Use super date picker instead of date range picker (#108722) (#111115)
* Use super date picker instead of date range picker

fixes elastic/security-team/issues/1571

* fix test target

Super date picker's `data-test-subj` prop gets garbled and doesn't show up in rendered DOM. In other words, the component is entirely void of a data-test-subj attribute.

* make auto refresh work!!

fixes https://github.com/elastic/security-team/issues/1571

* set max width as per mock

fixes elastic/security-team/issues/1571

* show a callout to inform users to select different date ranges

fixes elastic/security-team/issues/1571

* persist recently used date ranges on the component only

fixes elastic/security-team/issues/1571

* use commonly used ranges from default common security solution ranges

fixes elastic/security-team/issues/1571

* Better align date picker

* full width panel for date picker so content flows below it

review comments

* mock time picker settings for tests

* use eui token for bg color

review comment

* persist recently used dates

fixes elastic/security-team/issues/1571

* persist date range selection over new endpoint selection

review comments

* remove obsolete local state since update button is not visible.

review comments

* fix bg color for dark mode and relative path

* update relative path

review comments

* cleanup - the action doesn't allow for undefined start and end dates anyway

refs 28a859ab3a

* fix types after sync

* update test title

* add a test for callout when empty data

* fix lint

* show update button when dates are changed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ashokaditya <am.struktr@gmail.com>
2021-09-03 10:16:20 -04:00
Kibana Machine
4af5415ce8
[Security Solution][RAC] - Update reason field text (#110308) (#111021)
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2021-09-03 09:56:11 -04:00
Kibana Machine
3815e4280e
[ML] Add job audit messages API integration tests (#110793) (#110976)
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-09-03 09:11:14 -04:00
Aleh Zasypkin
1b72b57e14
Resurrect deprecated and removed authentication settings. (#110835) (#111107)
# Conflicts:
#	x-pack/plugins/security/server/config.test.ts
2021-09-03 09:10:53 -04:00
Mikhail Shustov
88bfd3c2d2
Functional tests for execution context (#110299) (#111102)
* remove unnecessary ts-ignore

* add context propagation to x-opaque-id header tests

* run tests on CI

* simplify logging. the action purpose follows from the context name

* extend tests with the assertion against execution_context from the Kibana logs

* split JSON log records only

* apply suggestions proposed by Spencer
# Conflicts:
#	scripts/functional_tests.js
2021-09-03 08:18:30 -04:00
Kibana Machine
bf7ce7ebe7
[Reporting] Updated telemetry types for V2 export types (#110622) (#111099)
* updated telemetry types

* update tests

* telemtery JSON file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-09-03 11:48:45 +00:00
Kibana Machine
a61da28f52
Adding experimental to event log mentions in the docs (#110876) (#111113)
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-09-03 07:46:50 -04:00
Rudolf Meijering
93dfcc6be3
[7.x] Migrationsv2: limit batch sizes to migrations.batchSizeBytes (= 100mb by default) (#109540) (#110967)
* Migrationsv2: limit batch sizes to migrations.batchSizeBytes (= 100mb by default) (#109540)

* Fix logging for existing integration test

* First stab at limiting batches to batchSizeBytes

* Fix tests

* Fix batch size calculation, NDJSON needs to be terminated by an empty line

* Integration tests

* Fix type failures

* rename migration integration tests and log files to be consistent & more descriptive

* Review feedback

* Remove duplication of fatal error reasons

* migrations.maxBatchSizeBytes to docker environment vars

* docs for migrations.maxBatchSizeBytes
# Conflicts:
#	src/core/server/saved_objects/migrationsv2/integration_tests/7_13_0_unknown_types.test.ts
#	src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts

* Fix tests on 7.x being off by one byte

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 07:36:13 -04:00
Stratoula Kalafateli
c13f6ad381
Move to vis_types folder part 2 (#110574) (#111092)
* Move to vis_types folder part 2

* fix jest tests

* do some tests

* revert

* Test Tiago's fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
2021-09-03 06:47:26 -04:00
Kibana Machine
ba88a2b3b7
[TSVB] Add migration script for 'drop_last_bucket' value (#110782) (#110956)
* [TSVB] Add migration script for 'drop_last_bucket' value

* Update visualization_saved_object_migrations.test.ts

* fix PR comments

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-03 10:34:19 +00:00
Kibana Machine
f3b33f6598
[SOR] use initialNamespaces when checking for conflict for create and bulkCreate (#111023) (#111084)
* use initialNamespaces when checking for conflict

* nits

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-03 04:42:31 -04:00
Matthias Wilhelm
57cdeb218b
[Discover][DocViewer] Fix toggle columns from doc viewer table tab (#95748) (#111081) 2021-09-03 04:18:45 -04:00
Kibana Machine
a6a1b5d9a1
[RAC][Security Solution] Make analyzer work with EuiDataGrid full screen (#110913) (#111018)
* Make analyzer work with EuiDataGrid full screen

* Don't ever restrict the width, remove console.log

* Remove isEventViewer prop no longer used

* Make global filters appear below data grid

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
2021-09-03 04:16:17 -04:00
Kibana Machine
8a94e7a815
[Security Solution][Detection Rules] Changes 'activated' text on rule details page (#111044) (#111079)
Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2021-09-03 02:14:06 -04:00
Kibana Machine
38a1f7f12c
[Metrics UI] Filter out APM nodes from the inventory view (#110300) (#111074)
* [Metrics UI] Filter out APM nodes from the inventory view

* Update jest snapshots

* Add tests for fs for filtering out APM nodes

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-09-02 22:47:36 -04:00
Kibana Machine
8955d542a1
[package testing] Update logging and pid configuration (#111059) (#111073)
With the merge of #98213, pid and log file settings were moved from
command line options to kibana.yml.  Package tests use a non-default
kibana.yml and these settings were not applied.  This updates our
configuration to include these settings.

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-03 02:30:07 +00:00
Devon Thomson
5078f4a370
[Dashboard] Read App State from URL on Soft Refresh (#109354) (#111052)
Subscribe to app changes from URL to allow dashboard URL to be used as an API. On URL change, update filters, timerange, and query
2021-09-02 20:06:45 -04:00
Alison Goryachev
ee32afb849
[Upgrade Assistant] New Kibana deprecations page (#110101) 2021-09-02 19:57:32 -04:00
Kibana Machine
71356091f0
Add correct roles to test user for functional tests in dashboard (#110880) (#111048)
* Add animals role to test user for functional tests in dashboard

* Fix two more dashboard tests by applying proper roles

* Restore test user defaults

* Fix one last dashboard test

* forgot security service

* Cleanup

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-09-02 19:56:31 -04:00
Kibana Machine
4fe13b3569
normalize initialNamespaces (#110936) (#111033)
Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-02 18:19:53 -04:00
Kaarina Tungseth
e3ebd8ed23
[7.x] [DOCS] Adds security updates to 7.14.1 release notes (#111007) (#111062) 2021-09-02 18:14:25 -04:00
Kaarina Tungseth
569406ad15
[DOCS] Updates Spaces page (#111005) (#111056) 2021-09-02 18:03:45 -04:00
Kaarina Tungseth
35ae2d62d0
[DOCS] Adds Lens Inspector and minor edits (#109736) (#111053)
* [DOCS] Adds Lens Inspector and minor edits

* Update docs/user/dashboard/lens.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Removes outdated menus and adds new visual component content

* Updates with review comments

* Last review comment

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-02 18:02:29 -04:00
Tim Sullivan
075da380c4
[Reporting] Clean up any usage, reorganize server route files (#110740) (#111027)
* refactor/reflatten server routes

* fix import

* fix any usage in server/lib

* clean up unused parameter

* remove any in server/browsers

* refactor handle request function into a class

* more cleanup
2021-09-02 15:27:13 -04:00
Kibana Machine
5a59ae5665
[Metrics UI] Add integration tests for Metric Threshold Rule and refactor to fire correctly (#109971) (#111012)
* [Metrics UI] Add integration tests for Metric Threshold and refactor to fire correctly

* Removing unused variables

* Fixing tests for metric_threshold_executor

* Fixing test for metric_query

* fixing test

* Changing type guard

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-09-02 14:58:55 -04:00
Jonathan Budzenski
dbd431631b skip flaky suites: #111001, #111022 2021-09-02 13:26:05 -05:00