* [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
* 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>
* Closes#68485 by:
- use the ML plugin to query for all APM jobs
- inspect the ml job groups to find all jobs related to a particular service
- use the mlAnomalySearch client to get ml job buckets with the max anomaly score
- query for the model_plot buckets to obtain actual/median values for the ML description
- return the relevant ML job with the max anomaly score for a service
- indicate to the user that no anomalies were found for a service with an ml job
* - Use the anomalyDetectorsProvider jobs API rather than the search endpoint directly
- Defines a specific return type for the ml jobs api
- Update the empty anomaly data message
* Code and types cleanup
* Return to using record result type on anomaly queries. These are the
same values used in the anomaly explorer and it includes actual &
typical values which greatly improve performance of the previous query.
* - If anomaly data is missing show a gray border around node
* - moved AnomalyDetection out of service map Contents into own component
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This PR adds event.dataset to the Kibana ecommerce sample data and makes the ML modules for ecommerce and weblog sample data use event.dataset to recognize the modules and also as the corresponding datafeed query instead of looking for the index name.
* create newJob route and start of wizard
* wip: create configStep component
* finish configStep form and details
* wip: create andvanced step components
* create details step component
* createStep component
* ensure advanced options are correct for each job type
* add validation to each step
* use custom table for excludes
* move customSelectionTable to shared components
* form validation for advanced fields
* wip: source index selection modal
* add source index preview
* update details
* ensure advanced parameters added to config on creation
* can create job from savedSearch. can set source query in ui
* validate source object has supported fields
* eslint updates
* update tests. comment out clone action for now
* add create button to advanced editor
* remove deprecated test helper functions
* fix translation errors
* update help text. read only once job created.
* fix functional tests
* add nextStepNav to df service for tests
* fix excludes table page jump and hyperParameter not showing in details
* fix checkbox width for custom table
* [ML] Enhances api docs for modules endpoints
* [ML] Edits to modules schema following review
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [ML] Add anomaly job timing stats to Counts & JSON
* [ML] Remove roundTo3DecimalPlace and clean up
* [ML] Fix format_values to round decimals for time values
* [ML] Remove timing_stats and forecast_stats from cloneJob
* [ML] Remove timing_stats & forecasts in job_service instead of utils
* [ML] Show warning when the model memory limit is higher than the memory available in the ML node
* reverting UI check
* removing from UI job validator
* adding cap to estimate mml
* adding mml value to message
* fixing translations
* updating translations
* fixing translation ids
* [ML] Adds API integration tests for data viz and fields endpoints
* [ML] Fix review comments and errors from settings endpoints
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [ML] Show better file structure finder explanations
* more typescript changes
* changing function format
* fixing some types
* fixing translation id
* fix boom error reporting
* changes based on review
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>