Fixes a regression introduced in #31692. The table interval selection wasn't properly restored from `AppState` because of a mismatch in the expected object structure.
Windows has a maximum path length of 260 characters. We're approaching this limit so this adds a build task to check for any path > 200 characters.
200 + C:/ + path + kibana = total. Rough estimation.
* [APM] closes#18114 by trunctating db statements in span flyout by default but allowing toggle between preview and full content.
* Made component more tolerant of changes in props/children by checking for clipping on each update
* [APM] simplify component by enforcing the prop previewHeight is a number and use it for calculation
* Fix hardcoded plugin name and license modes in common license checker
* Fix licensePreRoutingFactory scope issues
* PR feedback adjustments
* Use minimum license string instead of array of valid license
* Pass plugin name instead of ID for UX
* Return license status instead of `showLinks` and other flags
* Adjust factory closure for readability
* Fix test
* Additional PR feedback:
* Move license status constants to `/common`
* Internationalize plugin names that are passed to check license, and its error messages
* Remove `isAvailable` flag, change pre-routing logic to use `LICENSE_STATUS.VALID` instead
* Change constant `INACTIVE` to `EXPIRED`
* Convert check license test from mocha to jest
* Fix test
* fixing issues with maximum documents and maximum size being set
* removing defaults from ES policy load and removing unneeded propTypes
* fixing react warnings about controlled -> uncontrolled
* fixing tests
* more fixes for react controlled -> uncontrolled errors
* better fix for react warnings through empty default phases
* removing unused translation
* removing unnecessary async/awaits in onChange handlers
* Added a feature of rollup search on the UI side
Signed-off-by: Alexey Antonov <alexwizp@gmail.com>
* Rollup Feature - initial commit
* Revert "Added a feature of rollup search on the UI side"
This reverts commit 9568b0970b16f5102f50b748bb4d691a8612c2c2.
# Conflicts:
# src/legacy/core_plugins/metrics/public/components/index_pattern.js
* Remove the 'label' property from the search strategies
* Changed search by strategy from the last
* add single search request
* rollup_search_strategy add base implementation of isViable method
* rollup_search_strategy add base implementation of isViable method -fix
* Changed requests due to search request type
* refactoring of import Base classes / remove '../../../../../../
* remove extra await
* rollup_search_strategy. Refactoring of isRollupJobExists method
* remove question
* Add support of annotations and table data
* skeleton for adding Search Strategy restrictions
* Add rollup search capabilities
* apply search strategy for annotations request
* set fields capabilities for rollup strategy
* add timezone, interval into SearchCapabilities
* Add fields from capabilities
* add timezone, interval into SearchCapabilities
* fix default timezone
* Merging of two Rollup Jobs was removed
* move getFieldsForWildcard to searchStrategy
* Fix TSVB search requests should have a timeout
# Conflicts:
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_annotations.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/get_request_params.js
* Add unit test
* apply getEsShardTimeout for annorations/get_request_params, series/get_request_params
* rename metrics -> tsvb
* search_strategies_register refactoring: move 'add' method from class
* Add merge rollup capabilities with fields
* Add merge rollup capabilities with fields - small fixes
* Add support of 'Everything' aggregation for Rollup Search
* Return back metrics plugin
* remove 'metrics' from the X-pack\rollup require
* Fix test cases
* fix broken test: fail: "apis InfraOps GraphQL Endpoints metrics should basically work"
* rollup search - split by terms is not working
* Add count metric
* /get_bucket_size.js. Add support of 'auto' interval, Add support of gte intervals e.g.: >=1m
* fix build_request_body test
* [Rollup] [Phase 1] Error handling - rollup search errors should be more user friendly
* [Rollup] [Phase 1] Table View - research the query to ES - sorting is not wokring
* Merge #26006 into rollup
# Conflicts:
# src/legacy/core_plugins/metrics/server/lib/vis_data/annorations/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_annotations.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_series_data.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_table_data.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/request_processors/annotations/query.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/__tests__/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/get_request_params.js
* Add table view support
* fix broken build
* fix broken build
* [Rollup] [Phase 1] - write new tests (rollup_search_request, rollup_search_strategy)
* [Rollup] [Phase 1] - write tests for rollup_search_capabilities
* Add test on default_search_capabilities, abstract_search_strategy, search_strategies_register
* Add test cases for search_requests folder
* [Rollup] [Phase 1] - write tests for rollup_search_strategy
* FIx broken build
* remove todo
* fix calculation of interval value for rollup search
* add unit tests
* Remove default exports
* fix PR comments
* fix calendar intervals
* Added check to reset filters in 'setExpression'
* Removed filter reset from filter renderers' onDestroy handler
* Cleaned up setExpression
* Added TODO
* [Maps] implement references for saved objects
* add source to ref name, check that source type is ES_SEARCH or ES_GEO_GRID
* extract out common find reference into a function
* add migration version to sample data objects
* joins are on layer descriptor and not source descriptor
* update one es_archive saved object to have layerListJSON stored in references to ensure injectReferences is really working in SavedGisMap
* update sample data saved objects to include applied migration
* add API test to verify migration is applied when imported saved object