Commit graph

33878 commits

Author SHA1 Message Date
Spencer db1df7bed0
[kbn/optimizer] fix windows compatibility (#69304)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-16 12:57:34 -07:00
Melissa Alvarez efbb4ccc31
use navigateToUrl instead of window location (#69167) 2020-06-16 14:29:11 -04:00
Dmitry Lemeshko 9f7620b84d
[QA] Code coverage: fix flaky tests (#69272)
* skip test

* [page_objects/common_page] update closing toast
2020-06-16 20:15:01 +02:00
Frank Hassanabad d5785a0d6d
SIEM] Moves validation up to the common section
## Summary

Moves validation up to the common section so it can be used by others in common for API boundary validation.
2020-06-16 12:02:40 -06:00
Larry Gregory 3de93501c6
Resolve security cloud test failures (#68935)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 12:55:18 -04:00
Spencer 62f25506d3
[kbn/es] only make one attempt in tests to avoid timeout (#69197)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 09:54:41 -07:00
patrykkopycinski fb97d91789
Bump react-redux (#69182) 2020-06-16 18:44:34 +02:00
Lisa Cawley 9c88144727
[DOCS] Adds classification to data frame analytics overview (#69068) 2020-06-16 09:30:02 -07:00
Shahzad a9d73e8683
[Uptime] Monitor availability reporting (#67790)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 18:04:52 +02:00
Vignesh Shanmugam f43d51d41b
feat: instrument navigation changes using RUM agent (#67633)
* feat: instrument navigation changes using RUM agent

* chore: rebase and change application contract

* chore: fix type tests

* docs: update public.md doc

* chore: remove internal application export
2020-06-16 17:24:40 +02:00
Cauê Marcondes b42defa37e
[Observability] Update landing page copy and content (#69247)
* removing try it section

* removing try it section
2020-06-16 17:17:17 +02:00
Frank Hassanabad 461d44d8a4
[SIEM][Detection Engine] Fixes a stale view/query within the signals table when re-opening/closing signals
## Summary

Fixes a one liner bug where we were not using waitFor and could have stale views of data from the timeline. This removes that by adding a `waitFor` when setting the signals to be closed, open, in-progress, etc...

This also adds a new `waitFor` for the end to end tests and fixes other tests to use that rather than doing a wait for 5 seconds. This should keep the end to end backend tests fast. 

Before this you could sometimes try to re-open 3 signals like below and it would not change the signals to being open but rather re-query the stale view and show the same signals as being closed when they are not closed:
![crop_bug](https://user-images.githubusercontent.com/1151048/84713572-8b5e7f00-af28-11ea-80b6-2ad67f16b7df.gif)

Now with this PR, those signals will show as being re-opened and the closed signals will update correctly within the same UI on the same tab.

### Checklist

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
2020-06-16 08:41:59 -06:00
John Schulz 7beabd2bef
[Ingest Manager] Use search param vs KQL to find default agent (#69211)
* Remove another instance of filter for is_default

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 10:33:26 -04:00
John Schulz 798c520985
[Ingest Manager] Use search param vs KQL for events count (#69209)
* Replace filter with search in events count

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 10:32:41 -04:00
Melissa Alvarez 2ebe35ff15
[ML] DF Analytics Results: do not hide query bar and table on query syntax error (#69196)
* do not hide query bar and table if query syntax error

* check for query error in analytics exploration
2020-06-16 10:21:19 -04:00
Jean-Louis Leysens 7511a6eeb6
[Ingest Node Pipelines] Pipeline Processors Editor (#66021)
* initial plugin setup

* add smoke test

* fix license check

* refactor plugin setup

* Server-side create/update ingest pipelines (#62744)

* List pipelines (#62785)

* First iteration of ingest table

* Add action placeholders

* Refactor list and address PR feedback

Refactored the list into smaller pieces and assemble in main.tsx

Also addressed feedback on copy, removed unused notifications dep

* WiP on flyout

Showing name in title

* Add reload button

* Finish first version of flyout

* Slight update to copy

* `delete` -> `edit`

* Address PR feedback

Copy and a11y updates

* Add on failure JSON to flyout if it is available

* Add details json block file and remove ununsed import

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* [Ingest pipelines] Create pipeline UI (#63017)

* First vertical slice of pipeline editor component

* Made a space for common parameters

* [Ingest pipelines] Edit pipeline page (#63522)

* First iteration of CRUD functionality working

* WiP on moving the pipeline editor to pipeline processor editor

* Finish refactor to work with passing state out

* Refactor and fix tests

* [Ingest pipelines] Polish details panel and empty list (#63926)

* Address some early feedback and use FormDataProvider

FormDataProvider gives a more declarative way to listen to form
state updates.

Also refactored the state reader mechanism.

* [Ingest pipelines] Delete pipeline (#63635)

* [Ingest Node Pipelines] Clone Pipeline (#64049)

* First iteration of clone functionality

Wired up for both the list table and the details flyout in the
list section.

* satisfy eslint

* Turn on sorting for the list table

* Clean up const declarations

* Address PR feedback

Sentence-casify and update some other copy.

* Mark edit and delete as primary actions in list table

* Handle URI encoded chars in pipeline name when cloning

* Update to using the more flexible controlled component pattern

To make this component and mappings editor more consistent, both
will expose a more traditional controlled component interface to
consumers.

In the current implementation this requires that consumers use
`useCallback` for `onUpdate` handlers to avoid an infinite
rendering cycle and to avoid staleness bugs in their `onUpdate`
handlers they need to think about what might make the handler
stale.

This approach comes with the benefits and flexibility of
controlled components at the cost of slightly more complex
consumption of the components.

In future, we can explore adding the uncontrolled component
interface too so that consumers have the option to more simply
render and pull data out only when needed

* Handle sub-form validity

The pipelines processor editor not emits overall validity to
consumers

* Fix Jest test

* Refactor some names

prepareDataOut -> serialize
prepareDataIn -> deserialize
EditorProcessor -> ProcessorInternal

* Mark as private

* Major WiP

Started working on the drag-and-drop-tree and updated some
typings stuff

* [Ingest node pipelines] Privileges (#63850)

* Create privileges check for ingest pipelines app

Also moved the public side logic for checking and rendering
privilege related messages to es_ui_shared/public following the
new __packages_do_not_import__ convention.

* Add ,

* Fix import paths

* Address PR feedback

Fix i18n strings (remove reference to snapshot and restore) and
fix copy referencing snapshot and restore - all copy-pasta errors.

Also remove unused field from missing privileges object.

* Fix issue from resolving merge conflicts

* Add missing app privilege

* Use non-deprecated privilige name

* First iteration of drag and drop tree on feature parity

* First steps toward add on failure handler

Updated reducer logic to create the next copy value using immer.

* First iteration of nested tree with add on failure working

* Refactor and some UI layout updates

- Remove the "id" field on processors for now
- Implement the nested remove and update functionality again

* Remove immer (not call stack safe)

Refac to remove immer and reimplemented the immutable set and
get functions.

* [Ingest Node Pipelines] More lenient treatment of on-failure value (#64411)

* Move file to components folder

* [Ingest pipelines] Simulate pipeline (#64223)

* Updated tree rendering

- turn off dropzones for children
- fixed up some padding and margins
- fixed integration with pipeline_form.tsx

The current implementation still has a lot of jank stemming from
the UX with DnD. Unfortunately the nesting has opened a number
of issues here.

* [Ingest Node Pipelines] Show flyout after editing or creating a pipeline (#64409)

* Show flyout after editing or creating a pipeline

* JSX comment

* Show not found flyout

Copied from CCR

* update not found flyout and fix behavior when viewing details from table

* Reset pipeline name in URI when closing flyout

* Remove encodeURI

Already using encodingURIComponent for unsafe string.

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Clarification of terms

- addProcessor -> addTopLevelProcessor (same in editor modes)
- Expanded comment on ProcessorSelector

* Implement move between lists functionality

Added tests to the reducer for moving in and out of a recusrsive
structure.

* fix TS

* Prevent nesting a parent inside of its own child

* Add comment

* [Ingest pipelines] Cleanup (#64794)

* address review feedback

* remove unused import

* Big refactor to tree rendering structure

DnD tree now converts the nested tree to a flat one and only
consists of _1_ droppable area with a flat array of draggables
that can be combined.

Using the existing logic in the reducer combined with translating
the flat structure changes to a format the nested reducer can
understand looks like a really promising avenue.

There still seems to be a bug with a longer list where items do
not interact properly.

* Remove unused component

* A number of NB changes

- Fixed a subtle serialisation bug with on_failure in options
- Fixed a performance bug by using useRef in pipeline form
- Memoized the drag and drop tree
- Removed use of "isValid" from form lib... I think this should
be removed entirely.

* fix bad conflict resolution

* Implemented a slightly better destination resolution algo.

Also added tests.

* Fix subtle staleness bug, whitelist keys for setValue

* NB styling fix!!

Due to a parent's setting of overflow: hidden the drag and drop
tree had a dead zone that would equal the page overflow limit,
unsetting on the component itself (overflow: auto) relaxes this
limitation.

* Fix stale delete bug too

* Update naming of editor modes and update comments

* Use field types combo box

* Add delete confirmation modal

* Refactor delete modal component file name

* Better visual integration with existing form

* Update layout and styling of form

- added some padding around the new processors editor field
- Updated use of flex box in the pipeline form fields

* Move pipeline processor copy into pipeline processor component

The test button is also now inside of the pipeline processor
editor. Eventually all of this functionality should be moved
into the pipeline processor editor.

* First step of refactor to moving between trees

* First iteration of x-tree drag and drop

* Remove unused import

* Fix jest test types

* Fix up minor i18n issues and fix up layout of on failure

* Remove unnecessary prop

* Update spacing above add processor button to make it more center

* Fix destination resolution algo

* Update dragging resolver unit tests and add a lot more comments

* Use one sorting algo (removed use of euiReorder for now)

* Add placeholder tests and update comments

* Quite a big refactor

- Remove DraggableLocation entirely, only use ProcessorSelector
this simplifies mapping back to reducer instructions quite a lot
- Add tests for special case dragging behaviour

* Fix off by one bug in tests and implementation 🤦🏼‍♂

- Also move processor reducer to it's own folder

* Update behaviour for dragging up across trees and add tests

* Fix combine instruction

* Fix test and i18n issues

* Remove background color

* Fix selector after selector refactor

* A major performance

- Do not re-render the entire tree when editing settings

* Fix component smoke test

* Fix reading value from processor state using processor selector

* [Ingest pipelines] Custom processor form (#66022)

* Re add background color and refactor name of processor item

* Fix file naming and refactor 🚜 dnd tree rendering

- deserialze and serialize were backwards, fixed
- the dnd tree was rendering a flat tree which needed to be
mapped back to the nested tree for updates. This is still the
case but we do use recursive rendering. This enables tree nodes
to better hold local state like whether they are collapsed or not.

* Fix getting of initial on failure processors value

* Update padding styles for containers

* A lot of styling updates to get closer to look of mockup

* A WiP version of th click-tree an alternative to dnd

As a response to really long pipelines we may pivot away from
dnd.

* Remove dnd tree

* clean up reamining dnd tree references

* Clean up and refactor of tree component

To simplify the logic of the tree component processor id's
were added. Also had to update the jest spec to support this

* Added the ability to duplicate a processor

* Fix types in test

* Added duplicate functionality to ui

* Memoize tree components

* address es lint issues

* remove unused import

* Fix editing of custom json

* Address form performance issues

* Add all known missing processors

* Add ability to cancel move

* Fix staleness in test and view request flyouts

* fix type issue

* Remove unused translations and skip funcitonal test for now

* add todo comment

* Fix type issues

* remove poc styles

* disable other move buttons if we have a selected processor

* Refactor drop zone pin to button and add some styling

* Refactor processor editor item

* Update styling and use icon for cancel move action too

* fix nasty integration bug

* some minor optimizations

* prevent parent from being placed in own on failure handler

* Re-add cancel button

* Re-introduce failure processors toggle

* Fix typo

* Add Handler types for processor editor item

* Fix staleness bug for type, refactor classname and fix duplicate
bug not immutably copying values

* Experimenting with padels (revert this to undo if no further
changes have been made)

* Add description and unique ids

* Share links via component-wide context rather than props

* Virtualized list and back to outline dropzones

* Refactor id getter to a service and make it an incrementing number

* Temporary fix for double rendering issue.

This means the pipeline processors component is not controllable
but fixes the double rendering even when processors have not
changed. This is a problem coming from the ingest pipelines
plugin form system outside of this component

* add todo comment

* remove euicode element

* properly handle duplicate flow

* attempt to fix i18n

* split private_tree into it's own component and add comments

* refactor 🚜. rename Tree to ProcessorsTree and move things around

* do not delete the top level arrays for processors and onfailures

* fix typescript error

* Move duplicate, addOnFailure and delete actions into ctx menu

* remove unused import

* add support for pressing esc key to cancel move

* Add outside click listener

* always prompt before deleting a processor

* refactor remove distinction between adding top level and on fail

* add processor button to tree

* Hide the add on failure context menu item for processors with
failure handlers

* Reinstated x-tree moving and highlight and disable for buttons
on move and on edit

* removing ids step 1: remove idGenerator

* remove ids step 2: added inline text input

Also refactored a lot of the tree actions away. Now using
context and the processors editor tree item component for
dispatching actions. The tree item has access to the dispatch
and to the selector which makes it a well positioned component.

Also saves on some props drilling.

* Slight improvement to styling of text input (border)

* Re-implement missing failure toggle test

* address type todo

* Address many type issues and fix yarn.lock

* re-enable create pipeline functional test

* prevent multiple flyouts from opening

* change flyout title when editing an on-failure processor

* absolutely position the failure handlers label

when we render a dropzone on the label, then we move the label
up without affecting overall component height

* fix description behaviour not removing tag if empty

* some minor clean up

* add onflyoutopen cb to tests

* refactor processors editor item to multiple files

also refactored i18n into it's own file. would be good to come
up with a pttaern for doing this more broadly.

* fix add on-failure handler in context menu after refactor

* tag -> new description field

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alison.goryachev@elastic.co>
2020-06-16 16:17:30 +02:00
Nathan Reese dd1f64df55
[Maps] Security layer wizards (#68290)
* [Maps] security layer wizard

* index pattern select

* use IndexPattern

* destination layer

* source layer

* cache security index patterns

* line layer

* use top hits

* tslint

* unit test

* fix loading speed and i18n

* handle case where ui setting siem:defaultIndex does not exist

* tslint

* review feedback

* extract lazy load bundle from map embeddables

* expose createSecurityLayers via plugin start

* tslint

* export MapsPluginStart

* fix path move

* review feedback

* fix import

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 08:10:54 -06:00
James Gowdy 7a60f18ef9
[ML] Model snapshot management (#68182)
* [ML] Model snapshot management

* more updates

* adding calendar range

* updating layout

* multiple calendars

* moving calendar creator

* fixing chart issues

* fixing chart issues

* improving calendar rendering

* adding capabilities checks

* code clean up

* fixing end time argument type

* fix translations

* code clean up

* comments based on review

* changes based on review

* fixing include

* adding useMemo to theme function
2020-06-16 14:03:17 +01:00
Alison Goryachev 63506834f2
[ILM] Update doc link (#68923) 2020-06-16 08:25:53 -04:00
Alison Goryachev 83370a17b9
[Ingest pipelines] Fix create pipeline button copy (#69118) 2020-06-16 08:22:21 -04:00
Søren Louv-Jansen d12208c7ea
[APM] Fix confusing request/minute viz (#69143) 2020-06-16 12:13:18 +02:00
Alexey Antonov c98845c7c7
Update vega version (#68639)
* update vega version

* a11y skip test

* a11y skip test attempt 2

* adding back all a11y tests

* fix failed karma test

* remove extra  0BSD license

* coalesce yarn.lock versions a little

* update kbn/pm dist

* fix CI

* fix Vega View for ML

Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 12:35:34 +03:00
Anton Dosov 721125772f
stabilize flaky embeddables/adding_children take 2 (#68873)
* wait for loading indicator to be deleted

* improve with retry

* Update test/examples/embeddables/adding_children.ts

Co-authored-by: Spencer <email@spalger.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-16 10:42:37 +02:00
Gidi Meir Morris 833ce08259
[Alerting] Adds API for executing actions immediately (#68897)
This PR adds an API to the AlertsClient which allows users to execute actions immediately, rather than via TaskManager.

This also moves the TaskManager based execution to a new api on ActionsClient along side the immediate execution.
2020-06-16 09:33:10 +01:00
Victor Martinez 88eed9819c
[CI] GitHub check details link to test reports and errorlevel (#69157) 2020-06-16 07:23:10 +01:00
Spencer 7e328417ab
[kbn/optimizer] share all plugin bundles (#68986)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 22:15:31 -07:00
Luke Elmers d110e65624
Sort filter fields by items that start with typed characters. (#68585) 2020-06-15 21:54:04 -06:00
Spencer cc1758dd96
[release-notes] add script to generate release notes from PRs (#68816)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 16:27:56 -07:00
Tim Sullivan 7e2ab7fb82
[Reporting/Server] register plugin routes synchronously (#68976)
* register routes synchronously

* back out some refactoring

* comment fix

* fix tests

* register route handler context provider

* Add function level comments in core methods

* fix tests

* revert editor help

* route context is the ReportingStart contract

* Fix reporting job route tests

* Fix generation tests

Co-authored-by: Joel Griffith <joel.griffith@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 16:19:25 -07:00
Tiago Costa 41e801f830
chore(NA): include hidden files when creating package with plugin helpers (#68247)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 23:48:32 +01:00
Steph Milovic f7398f086b
[Security] siem to securitySolution SO migration (#68776) 2020-06-15 16:18:03 -06:00
Jonathan Buttner 646a212b7b
[Endpoint] [ES Archiver] Allowing create option to be passed through the cli for es archiver (#69191)
* Allowing create option to be passed through the cli

* Using kebab casing
2020-06-15 18:04:33 -04:00
Jonathan Buttner 4f5e279d75
Using correct index patterns (#69208) 2020-06-15 14:42:18 -07:00
Justin Kambic ecd3c9b517
Remove obsolete custom types from super date picker handlers. (#69038)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 17:03:43 -04:00
James Gowdy b540ada036
[ML] Allow editing of model_snapshot_retention_days (#69003)
* [ML] Allow editing of model_snapshot_retention_days

* removing commented code

* flooring number input

* adding daily_model_snapshot_retention_after_days

* updating default values

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 21:45:51 +01:00
Jen Huang 07241d1af8
[Ingest Manager] Add ability to copy an agent config (#68737)
* Add copy agent config endpoint, schema types, and request hook

* Add copy config to context menu and modal

* Change data sources to be copied via bulk instead of singles in parallel

* Add copy endpoint to openapi spec file

* Add api integration tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:40:08 -07:00
Josh Dover a7900d0e99
Fix plugin lifecycle log to only include server plugins (#68686)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:31:02 -06:00
Kaarina Tungseth 4d02eab0f3
Updates the Release Notes content in CONTRIBUTING (#69032)
* Updates the Release Notes content in CONTRIBUTING

* Release Notes guidelines

* Fixes bulleted list indentation
2020-06-15 14:25:53 -05:00
Jonathan Buttner dc5f448076
[Endpoint] Remove dependency on ingest for the index patterns (#69058)
* Remove dependency on ingest for the index patterns

* Fixing the tests

* Fixing test

* Use variable instead of class
2020-06-15 15:22:24 -04:00
Davis Plumlee e3ba5e5e1f
[SIEM][Detections] In progress alert state (#68569) 2020-06-15 13:06:39 -06:00
John Schulz 0ce29706b2
Don't use filter to get default config & output (#69088)
* Don't use filter to get default config & output

the KQL parsing takes up a lot of CPU time. Avoid it with a search string

Also add a `refresh: false` as suggested by @bkobel

* Does restoring await fix CI?

* Remove 'refresh: false' from agent enroll

Does this this fix the failing test? It does keep the PR more focused

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 15:03:10 -04:00
Jen Huang 9ddaebc371
Add enroll agent action to config action menu (#68840)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 11:45:15 -07:00
Andrea Del Rio b57149ccb2
[Alerting] Update Index Threshold to use columns in EuiExpression (#69051) 2020-06-15 11:43:19 -07:00
Jean-Louis Leysens 169cc248e8
try to fix integration test by making template more specific (#69138)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 20:40:20 +02:00
Alejandro Fernández Haro c09b2287cc
[skip-ci] Rename @elastic/pulse to @elastic/kibana-telemetry (#69181) 2020-06-15 19:21:08 +01:00
Zacqary Adam Xeper 1b9ba5d0b0
[Metrics UI] Add preview feature for metric threshold alerts (#67684)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:17:04 -05:00
Brittany Joiner 570be32b14
Set wrap to the errorLink so it doesn't go outside of box (#67797)
* set wrap to the errorLink so it doesnt go outside of box

* updating

* set wrap to the errorLink so it doesnt go outside of box

* updating

* Show full message on hover

Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2020-06-15 12:51:42 -05:00
Candace Park 52c8e96280
[SECURITY SOLUTION] Task/endpoint details to fleet (#68710)
[SECURITYSOLUTION][INGEST] Fixes endpoint link, adds link from endpoint details to fleet

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 13:14:51 -04:00
Nathan L Smith eef8dc7653
[APM] Changes to duration formatting (#69039)
* [APM] Changes to duration formatting

* Change the threshold for showing microseconds to 1 millisecond instead of 10. This means you now get "900 µs/1.3 ms/20.0 ms" instead of "900 µs/1300 µs/20 ms."
* Change milliseconds formatted with `asDuration` to be `asDecimal` instead of `asInteger`. That means you get "0.0 ms/2.5 ms/3.0 ms" instead of "0 ms/2 ms/3 ms."
* Tables were all using their own module-scoped functions that called `asDuration` to format things as decimal milliseconds. Extract this to an `asMillisecondDuration` function exported from the duration helpers and use it in all the tables.
* Change `getResponseTimeseries` in chart selectors to use `asDuration` to make all chart timeseries units consistent.
* Don't export `convertTo` from the duration helpers as it's now not used anywhere. Always use a more specific exported function for more consistency.
* Change ">=" to "≥" in the ML flyout text.

* Update e2e snapshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-15 11:56:45 -05:00
Chris Roberson e6cf4b36d3
[Monitoring] Ensure we use existing Elasticsearch config (#68389)
* Ensure we use existing Elasticsearch config

* Use separate type for this to ensure custom properties work

* PR suggestions

* PR feedback

* PR feedback

* Fix type issues

* PR feedback
2020-06-15 12:43:37 -04:00