* Fix validations not handling extra things like params or lang
* Add translations
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f8d932f70a)
This PR stabilizes the anomaly explorer tests for adding a swim lane to a dashboard by validating the dashboard table row count after filtering.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
The API for model size stats changed attributes and structure. This picks up the changes to fix the display of model sizes on the ML overview page and model management page.
# Conflicts:
# x-pack/plugins/ml/server/models/data_frame_analytics/models_provider.ts
This PR utilizes the functional test runner to walk through the UI and take a couple screenshots for use in the documentation.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
* Only allow data view creation if job will be started
* update tests
* no stat fetching when job not started
* ensure result index exists before dataview creation attempt
* update error message and increase retry delay
* use getIdsWithTitle to avoid fieldsWithWildcard call
* move dataview validation to create step
* use exists api in ml index_exists endpoint
* refactor retry function
* fix duplicate i18n ids
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Fixes data grid column actions button when histogram charts are visible
* [ML] Adjust histogram color tolerance values
* [ML] Remove test tag
* [ML] Stabilize canvas element test by rounding color values
* [ML] Adjust color tolerance values
* [ML] Further color tolerance adjustments
* [ML] Adjust more color tolerance expected values
* [ML] More color stat adjustments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Pete Harverson <pete@elastic.co>
* Do not add fields to index patterns
* remove redundant tests
* install index patterns before package install
* update remove comment
* use import to create package assets
Here I have also moved to importing all assets at once. This is essential when importing to ensure that all saved objects references are imported at once. There is also an efficiencey improvement.
* Import index patterns
* use resolve when deleting index patterns
* fix: asset type validation
* add option to override supported import types
* make ml-module importable
* Revert "add option to override supported import types"
This reverts commit 1f48e6ee193fea5e5cb0f37c70cbfa7ae47eeab5.
* remove hidden: false from ml-module
* use resolve when deleting assets
* make security-rule SO type importable
* use bulkResolve to get package assets
* fix tests
* fix 'multiple' tests
* remove unused function
* create index patterns at the same time as other assets
* remove unused test
* Fix integration tests
We were checking for an error before the import was complete.
* tidy for PR
* add missing test assets
* do not attempt to delete missing assets
* resolve any reference errors that occur on import
* await installKibanaAssets immediately
* show assets not found when assets installed in a different space
* fix delete asset check on force upgrade
* add comment about reference errors
* remove a couple of appContextService dependencies
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
* implement permissions check
* implement permissions check
* fix server side usage
* pass request in more places
* add tests, cleanup
* infra doesn't edit data views
* reporting only reads data views
* update api consumers to reflect read only access
* update api consumers to reflect read only access
* Update index.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Removes APM NodeJS and RUM Javascript modules
* [ML] Delete unnecessary module_apm archive
* [ML] Fix get_module API test
Co-authored-by: Pete Harverson <pete@elastic.co>
* [ML] Disabling delete data view for data frame analytics and transforms wizards
* bulk transforms
* unused variable
Co-authored-by: James Gowdy <jgowdy@elastic.co>
* [ML] Disabling create data view for data frame analytics and transforms wizards
* removing dfa results link
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
* [ML] Display warning if clone job fails due to missing data view
* [ML] Edits following review
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Pete Harverson <pete@elastic.co>
* move includes fields error below analysis table
* ensure analytics list refresh interval is respected
* check global state before overwriting timepicker interval setting
* ensure refreshInterval persists between tabs
* handle undefined globalState
* stabilize openMapView service method
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
* [heatmap] Fix x time scale with calendar intervals (#117619)
The commit fixes the Lens heatmap time axis when used with calendars time intervals in date_histogram aggs
# Conflicts:
# package.json
# yarn.lock
* commit using @elastic.co
* change headers level for new docs
* increase level for groups and methods, remove h2 for the project name
* bump version
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
* [ML] Data view loading refactor
* more renaming
* more renaming
* fixing tests
* fixing jest test
* small changes based on review
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
* [ML] allocated models as a table
* [ML] handle fetching stats for stopped model
* [ML] change date formatter, enable check for start and stop action, change icon
* [ML] hide stats tab when not stats are available
* [ML] update state on action
* [ML] update memory breakdown message
* [ML] fix type
* [ML] fix functional test
* [ML] render nodes as links
* [ML] fix locator types
* [ML] support node name in the URL state
* [ML] update icon
* [ML] routing state with reason tooltip
* [ML] move experimental tag
* [ML] add state column, fix import
* [ML] update stats on aciton
* [ML] refresh by timer
* [ML] rename fetchStats callback
* [ML] replace with promise.all
* [ML] add deployment state const
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>