* Closes#21920 by:
- linking to errors list filtered by current transaction id
- including the error count in the transaction details link
* [APM] improved code org and fix warning message in unit test
* [APM] improved code readability and parallelized ES queries
* Fix issues with the localization effort, mainly due to two ongoing refactors in the same code
* Apply suggestions from code review
Co-Authored-By: chrisronline <chrisronline@gmail.com>
* PR feedback
* Types, and index pattern moved to new format
* fix imports
* API now doing full validation on config blocks
* progress pre-move-blocks to their own api
* Config is now stored as a JSON string keyword to prevent conflict
* New API server is working
* fixing types — progress
* “fixed” all types
* add lib and most adapter methods needed
* wired up more plumbing
* added REST adapter to client for config blocks
* fix some tests
* connect new APIs to beat details page
* fix typo causing several failing tests.
* update test data
* API bug fixes
* fix remaining testing
* revert index name change
* add new routes
* remove whitespace
* fix spelling
* wiring things up and adapting to the new UI
* config block creation works in UI
* config blocks now show up once added
* adding paging to tables
* config list paging works
* version check for UI changes
* fix types
* Update the rest of config UI, still needs create API connection
* create now mass creates tags after tag is created, edit creates and deletes configs in real time
* create config blocks when creating tags
* propperly load tags on their own for beats
* load inital config blocks on edit page
* wired up initial pass at assignable tags
* assignments now work.
* squash many bugs with tag creation, editing, as well as k7 breadcrumbs
* fix label id
* Fix the displaying of module types
* bug fixes for deleting config blocks during initial tag creation
* make name really required on initial walkthrough tag creation
* Fix and enhance deleting a config block from existing tag
* fix memory adapter for configs
* add missing index template field.
* fix issue of empty array in ES
* fix typings
* fix tag not showing up when assigning sometimes
* cleanup
* fix assignment options not always listing avaliable tags. Tag removal now works. Now warns when tag is assigned to beat. Removing a tag removes config blocks on that tag
* fix search bars
* add “other field”
* remove dumb conditional
* use previous ID on configs when updating configs
* deleting tags with config blocks works
* reload beats list after removing a beat
* fix param order for DB adapter
* fix types
* persist config in UI when creating new config blocks on new tags
* Fixed issue with YAML parsing, error editing an output config, and cleaned up a little
* added/enhanced test
Some SCSS still used ml-explorer-swimlane (note the selector without the dot) for rules which referenced the angularjs tag <ml-explorer-swimlane /> which wrapped the swimlane. This element no longer exists in the DOM after the migration to React. Because the selector didn't match anymore, cells in the swimlanes would get a gray border when drag-selecting even if the feature to select a range of cells was turned off.
This fixes it by updating the SCSS to match the corresponding elements again. The referenced classes have been renamed to camelCase + ml-prefix and moved out of the deeply nested code. But no further SCSS refactoring is done in this PR, this is just about fixing this regression. Some legacy CSS from the ml-explorer-swimlane rule has been removed too.
* Refactor es queries and associated components/endpoints.
* Add unit tests, repair broken tests.
* Simplify code based on PR feedback.
* Add loading spinner to monitor page title based on PR feedback.
* Rename GQL type based on PR feedback.
* Remove use of 'undefined' in ES query based on PR feedback.
* Simplify code based on PR feedback.
* Add definite size/shard_size for terms agg based on PR feedback.
* Simplify ES query based on PR feedback.
* Update x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts
Implement PR feedback.
Co-Authored-By: justinkambic <justin.kambic@elastic.co>
* Increase size for ES errors query based on PR feedback.
* Fix hardcoded field in terms filter based on PR feedback.
* Simplify get code for monitors function.
* Reduce unnecessarily large size for terms agg based on PR feedback.
* Pluralize filter bar props.
* Refactor filter bar query based on PR feedback.
* Update test.
* [Maps] move source details to Panel header
* fix EMS file link
* add grid icon to WMS and TMS source
* ensure loadingDisplayName and props is only called once when component mounts
* ensure display name gets updated when user changes it in settings panel input
* clean-up styling
* review feedback
* Breadcrumbs and Title on their own line
- Menu on the left, datepicker on the right
* Fixed up usages of kuiLocalTitle
* Fix alignment if main menu doesn’t exist
* Remove some extraneous classes
* Update ems utils to better handle no service results. Prevent excess attribution errors
* Update tile layer sync to return promise and handle errors related to both obtaining url and tile loading
* Add flow for updating tms layers with error status/message
* Handle promises, if returned, on syncLayerWithMB. Update TMS error status
* Exclude layers that mapbox didn't add to map but are tracked in layer list from reordering logic
* Move datarequest handling to vector layer. Use relevant data load/error logic for tile and vector layers
* Don't try to get attributions on errored layer
* Handle 'includeElasticMapsService' configuration
* Move data requests back to layer level for heatmap usage
* Update all layers to set top-level layer error status and message. Consolidate redundant code
* Update tile sync function to more reliably confirm load status after loading via callback. Add interval to cancel timer
* Remove unnecessary, and annoying, clear temp layers on tms error
* Clean up
* More clean up
* Review feedback
* Review feedback. Test cleanup
* Test fixes and review feedback
* Updates tpm buckets with a missing result key to default to 'n/a'
* Localizes "N/A", updates how missing values are handled
* Converts transaction and error group overview lists to TS, uses managed table component
* Fixed tests
* Fixes EUI-related snapshot update
* Reverts TS conversion and client-side sort change for ErrorGroupOverview
* Restores location passing for error group list
* chore: quote expression type name in error
makes it a little more readable and a little easier to understand what failed
* fix: show all model args if no filter
this changes what modelArgs means, turning them into a selective filter instead of a hard requirement
* Unlinked deployment working for beats
* Use better constant
* Show N/A for license
* Rename to Unlinked Cluster
* Use callout to mention unlinked cluster
* PR feedback
* Use fragment
* Speed up the query by using terminate_after
* Handle failures more defensively
* Remove unnecessary msearch
* PR feedback
* PR feedback and a bit of light refactor
* Updated text
* Add api integration tests
* Localize call out
* Update loc pattern
* Fix improper i18n.translate usage
* Revert "Fix improper i18n.translate usage"
This reverts commit 0e2e7608c3.
* Revert "Update loc pattern"
This reverts commit cc99fe8a8a.
* Ensure the unlinked deployment cluster counts as a valid cluster
* Sometimes, you miss the smallest things
* Ensure the unlinked cluster is supported, in that users can click the link and load it
* Update tests
* PR feedback. Simplifying the flag supported code and adding more tests
* Update naming
* Rename to Standalone Cluster
* Remove unnecessary file
* Move logic for setting isSupported to exclusively in flag supported clusters code, update tests