* Add telemetry for detection rule exception lists to improve UX.
* Add length for debugging.
* Fix type.
* Clean up exception list telemetry document.
* Dynamically set kibana index (just in case).
* Update task title.
* Rename version to rule_version.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
All endpoints except annotations, source maps, and agent configuration are now at /internal/apm instead of /api/apm.
None of the UX endpoints have been updated, only APM.
If you search for "/api/apm" in the codebase, you should only see the above endpoints.
Fixes#113383.
# Conflicts:
# x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx
# x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx
# x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx
# x-pack/plugins/apm/server/routes/event_metadata.ts
# x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts
# x-pack/test/apm_api_integration/tests/services/throughput.ts
* move uncaught exception out of exit$
* reintroduce original error, but as a log instead
* change log level: error -> warning. also update copy to make it explicit that the error will be ignored
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add links to field references and GET requests to the examples
* Add troubleshooting info for failed requests
* Add data model and running examples section
* Add GET requests for query examples
* Add `metricset` possible values
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
* Add transaction based and metric based queries
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
* [ML] Fix deletion of models that are not used by pipelines
* [ML] Edits from review
* [ML] Fix jest test for index switch in delete job modal
* [ML] Fix API test calls to createTestTrainedModels
* [ML] Remove unnecessary async from jest test
Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
* [data views] clarify field subtype typescript types (#112499)
* separate out multi and nested subTypes
* separate out multi and nested subTypes
* add undefined checks
* remove expect error statements
* use helper functions in es-query
* simplify changes with helper functions
* checking existence instead of getting value x2
* simplify types and revert discover changes
* update discover sidebar with helper methods
* try helpers with group_fields file
* try different helper with group_fields file
* revert group field changes, try nested field helpers
* revert nested field changes, try field_name.tsx helpers
* fix maps jest test
* use helpers in discover instead of setting types
* fix field_name.tsx
* Update index_pattern_util.test.ts
* lint fix
* fix common exports
* reduce data_views plugin bundle size
* reduce data_views plugin bundle size
* remove discover reliance on es-query package
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# packages/kbn-es-query/src/es_query/handle_nested_filter.ts
* fix test
* [Fleet] Add language clients (#113666)
* Apply suggestions from code review
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
* Update src/plugins/custom_integrations/server/plugin.test.ts
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
* Update src/plugins/custom_integrations/server/plugin.test.ts
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
* Filter out empty values from alert flyout overview
* Add Host Risk metadata data to alerts flyout
* Add feature flag to host risk data query
* Swap investigation guide and enrichment data places in the UI
* Migrate alert_summary_view.test to react testing library
* Refactor threat summary by extracting components and renaming
Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
* integration policies fixes
* don't update scheduled query group name while importing pack if there's already a name set
* handle reseting form state on submission error
* nixed the console logging
* fix linting issues
* useFormData instead of getFields
* linter plz
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Bryan Clement <bclement01@gmail.com>
* Adds new empty prom when there is no TA or non already assigned one
* Adds policy name to text message
* Fix error in tabs component
* Fix mulilangs in empty state components
* API call that checks if any TA exists with actions and reducers
* Adds current policy id and name to the empty state component instead of a fake ones
* Adds unit test for layout
* Switch empty state depending on results and added unit test
* Fix multilang keys and join code into a hook to avoid duplications
* Fix TS error
* Canges icon
* Fixes pr comments
* Fix ts error in test
Co-authored-by: David Sánchez <davidsansol92@gmail.com>
* Add schema for blocked_windows and blockedWindows type
* Update constants and types
Also changes the size of a spacer
* Update FrequencyItem to new design
* Update BlockedWindowItem to new design
* Update logic file for new designs
It was decided that we would omit the seconds from any API-submitted duration values.
* Add i18n for UTC tooltip
* Better function name
Also moved const closer to function declarations for easier readability
* Add reducers
CI was complaining about types since the method wasn’t used. Was going to add these in a future PR but will add them here so we can merge
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>