kibana/x-pack/test
Cauê Marcondes eee5d76723
[8.17] [APM] Breakdown Top dependencies API (#211441) (#213795)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[APM] Breakdown Top dependencies API
(#211441)](https://github.com/elastic/kibana/pull/211441)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-10T16:24:37Z","message":"[APM]
Breakdown Top dependencies API (#211441)\n\ncloses
https://github.com/elastic/kibana/issues/210552\n\nBefore:\n- Top
dependencies API returned baseline and comparison timeseries
data.\n\n<img width=\"1208\" alt=\"Screenshot 2025-02-14 at 14 27
28\"\nsrc=\"https://github.com/user-attachments/assets/f7770395-0575-4950-9acd-8808de5794b7\"\n/>\n\n\nAfter:\n-
Removing timeseries and comparison data.\n- The API is ~2s faster than
before.\n- Response size is also smaller after removing the timeseries
data.\n\n<img width=\"1203\" alt=\"Screenshot 2025-02-14 at 14 26
34\"\nsrc=\"https://github.com/user-attachments/assets/5bd2ed09-1d2e-4ef1-8e55-6c3e9fba6348\"\n/>\n\nCreated
a new API:
`POST\n/internal/apm/dependencies/top_dependencies/statistics` to fetch
the\nstatistics for the visible
dependencies.\n\n---------\n\nCo-authored-by: Carlos Crespo
<crespocarlos@users.noreply.github.com>\nCo-authored-by: Milosz
Marcinkowski
<38698566+miloszmarcinkowski@users.noreply.github.com>","sha":"a6fd5b7e101b7e0d13b15220a247d4a29e5c0405","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.1.0"],"title":"[APM]
Breakdown Top dependencies
API","number":211441,"url":"https://github.com/elastic/kibana/pull/211441","mergeCommit":{"message":"[APM]
Breakdown Top dependencies API (#211441)\n\ncloses
https://github.com/elastic/kibana/issues/210552\n\nBefore:\n- Top
dependencies API returned baseline and comparison timeseries
data.\n\n<img width=\"1208\" alt=\"Screenshot 2025-02-14 at 14 27
28\"\nsrc=\"https://github.com/user-attachments/assets/f7770395-0575-4950-9acd-8808de5794b7\"\n/>\n\n\nAfter:\n-
Removing timeseries and comparison data.\n- The API is ~2s faster than
before.\n- Response size is also smaller after removing the timeseries
data.\n\n<img width=\"1203\" alt=\"Screenshot 2025-02-14 at 14 26
34\"\nsrc=\"https://github.com/user-attachments/assets/5bd2ed09-1d2e-4ef1-8e55-6c3e9fba6348\"\n/>\n\nCreated
a new API:
`POST\n/internal/apm/dependencies/top_dependencies/statistics` to fetch
the\nstatistics for the visible
dependencies.\n\n---------\n\nCo-authored-by: Carlos Crespo
<crespocarlos@users.noreply.github.com>\nCo-authored-by: Milosz
Marcinkowski
<38698566+miloszmarcinkowski@users.noreply.github.com>","sha":"a6fd5b7e101b7e0d13b15220a247d4a29e5c0405"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211441","number":211441,"mergeCommit":{"message":"[APM]
Breakdown Top dependencies API (#211441)\n\ncloses
https://github.com/elastic/kibana/issues/210552\n\nBefore:\n- Top
dependencies API returned baseline and comparison timeseries
data.\n\n<img width=\"1208\" alt=\"Screenshot 2025-02-14 at 14 27
28\"\nsrc=\"https://github.com/user-attachments/assets/f7770395-0575-4950-9acd-8808de5794b7\"\n/>\n\n\nAfter:\n-
Removing timeseries and comparison data.\n- The API is ~2s faster than
before.\n- Response size is also smaller after removing the timeseries
data.\n\n<img width=\"1203\" alt=\"Screenshot 2025-02-14 at 14 26
34\"\nsrc=\"https://github.com/user-attachments/assets/5bd2ed09-1d2e-4ef1-8e55-6c3e9fba6348\"\n/>\n\nCreated
a new API:
`POST\n/internal/apm/dependencies/top_dependencies/statistics` to fetch
the\nstatistics for the visible
dependencies.\n\n---------\n\nCo-authored-by: Carlos Crespo
<crespocarlos@users.noreply.github.com>\nCo-authored-by: Milosz
Marcinkowski
<38698566+miloszmarcinkowski@users.noreply.github.com>","sha":"a6fd5b7e101b7e0d13b15220a247d4a29e5c0405"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 13:29:30 +01:00
..
accessibility [8.17] [Spaces UI] Role Editor Flyout Should Match in Roles Mgmt (#198182) (#202821) 2024-12-04 19:51:52 -05:00
alerting_api_integration [8.17] [ResponseOps] Fix connector test (#208754) (#209060) 2025-01-31 11:07:57 +01:00
api_integration [8.17] [APM] Breakdown Top dependencies API (#211441) (#213795) 2025-03-11 13:29:30 +01:00
api_integration_basic [8.x] [Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898) (#200807) 2024-11-19 15:13:06 -06:00
apm_api_integration [8.17] [ObsUX][APM] Migrate Service Overview archiver test cases to synthtrace (#201407) (#201536) 2024-12-11 09:59:21 -06:00
banners_functional
cases_api_integration [8.17] [Response Ops][Cases] Cases with empty string assignees throwing error (#209973) (#210755) 2025-02-12 16:49:46 +01:00
cloud_integration [8.x] Clean up &#x60;cloud_chat&#x60; (#194571) (#194818) 2024-10-03 09:12:16 -05:00
cloud_security_posture_api [8.x] [Cloud Security] Fixed failing FTR (#199683) (#200530) 2024-11-18 08:58:38 -05:00
cloud_security_posture_functional [8.17] [Cloud Security] skip flaky tests (#197143) (#190967) (#210741) 2025-02-13 10:33:40 +02:00
common [8.17] [8.x] [Telemetry][Security Solution] Index metadata collector (#194004) (#204311) (#204628) 2025-01-09 20:27:12 +01:00
custom_branding [FTR] Update getAttribute method return (#179715) 2024-04-10 10:28:03 -07:00
dataset_quality_api_integration [8.x] [Dataset quality] Extracting totalDocs form degradedDocs request (#198757) (#199177) 2024-11-07 06:26:08 -06:00
defend_workflows_cypress [8.x] [Security Solution] Removing cypress folder (#197273) (#199260) 2024-11-07 04:16:34 -06:00
disable_ems
encrypted_saved_objects_api_integration [8.x] [ESO] Add flag to allow ESO consumers to opt-out of highly random UIDs (#198287) (#198956) 2024-11-05 10:29:30 -06:00
examples [ON-WEEK][POC] Playwright (#190803) 2024-09-06 13:09:18 +02:00
fleet_api_integration [8.17][ci] Use daily promoted EPR distribution (#205221) (#205655) 2025-01-07 16:28:05 -06:00
fleet_cypress [8.x] [Fleet] Add cypress test against space awareness (#195372) (#195873) 2024-10-15 09:02:16 -05:00
fleet_functional [Fleet] Fix failing/flaky tests (#189559) 2024-07-31 14:14:30 -04:00
fleet_packages [8.x] [Fleet] Remove deprecated Symantec package from install_all_packages_job (#193029) (#193129) 2024-09-17 06:18:34 -05:00
ftr_apis [8.x] Authorized route migration for routes owned by @elastic/kibana-core (#198187) (#199489) 2024-11-08 10:29:54 -06:00
functional [8.17] [Discover] [Embeddable] Fix Discover session embeddable drilldown (#211678) (#212142) 2025-02-21 14:13:03 -07:00
functional_basic [8.17] [ML] Functional tests - cleanMlIndices without system index access (#199653) (#201434) 2024-11-22 12:46:06 -06:00
functional_cloud Connection Details Flyout (#180912) 2024-04-23 16:35:04 +02:00
functional_cors Remove deprecated abab package (#183383) 2024-05-16 12:48:26 +02:00
functional_embedded
functional_enterprise_search [FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#191805) 2024-09-05 10:00:55 +01:00
functional_execution_context [8.x] Added scope field to features config. (#191634) (#193389) 2024-09-19 10:42:43 -05:00
functional_search [8.17] [Search] Web crawler name consistency (#202738) (#203783) 2024-12-12 11:33:34 +01:00
functional_solution_sidenav [8.x] [Stateful sidenav] Fix breadcrumbs (#196169) (#196332) 2024-10-15 11:26:00 -05:00
functional_with_es_ssl [8.17] [ResponseOps][Alerts] Wrap Stack Alerts page filter controls in error boundary with fix call-to-action (#209559) (#210387) 2025-02-10 18:39:50 +01:00
kubernetes_security [8.x] [Http] Gracefully onboarding internal routes to &#x60;VersionedRouter&#x60; (#194789) (#194902) 2024-10-04 03:34:06 -05:00
licensing_plugin [8.x] Skip test due to unavailable resource (#195330) (#195336) 2024-10-08 04:15:29 +02:00
load [ON-WEEK][POC] Playwright (#190803) 2024-09-06 13:09:18 +02:00
localization [Dashboard] Remove library and drilldown notifications (#190797) 2024-09-09 14:11:15 -07:00
monitoring_api_integration Fix typo in stack monitoring apm (#187875) 2024-07-10 14:50:47 +01:00
observability_ai_assistant_api_integration [8.17] [Obs AI Assistant] It should be possible to clear the user-specific system prompt (#202279) (#202468) 2024-12-02 09:41:28 -06:00
observability_ai_assistant_functional [8.17] [Obs AI Assistant] fix flaky test and add back test in settings (#213196) (#213320) 2025-03-06 08:49:03 -05:00
observability_api_integration FIPS FTR Overrides and test skips (#192053) 2024-09-10 13:17:40 -04:00
observability_functional [8.x] [Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898) (#200807) 2024-11-19 15:13:06 -06:00
observability_onboarding_api_integration [FTR] enable recommended mocha + no-floating-promises ESLint rules (#190690) 2024-08-23 11:54:36 -05:00
osquery_cypress [8.x] [Security Solution] Removing cypress folder (#197273) (#199260) 2024-11-07 04:16:34 -06:00
plugin_api_integration [8.17] [8.x] [Telemetry][Security Solution] Index metadata collector (#194004) (#204311) (#204628) 2025-01-09 20:27:12 +01:00
plugin_api_perf Add @typescript-eslint/no-floating-promises (#181456) 2024-05-01 08:41:31 -07:00
plugin_functional [ON-WEEK][POC] Playwright (#190803) 2024-09-06 13:09:18 +02:00
profiling_api_integration [FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#191805) 2024-09-05 10:00:55 +01:00
reporting_api_integration [8.x] [Index Management] Add support for index mode (#197874) (#198481) 2024-10-31 06:07:10 -05:00
reporting_functional [8.x] [Dashboard] Hover actions for panels (#182535) (#197770) 2024-10-25 04:42:51 -05:00
rule_registry [8.x] [Response Ops][Alerting] Removing lifecycle executor from rule registry (#192576) (#198579) 2024-10-31 13:36:30 -05:00
saved_object_api_integration FIPS FTR Overrides and test skips (#192053) 2024-09-10 13:17:40 -04:00
saved_object_tagging [8.x] [Visualizations] Show TSVB and Agg based as &quot;legacy&quot; when users create visualizations from the library (#195966) (#197096) 2024-10-21 12:43:37 -05:00
saved_objects_field_count [FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#191805) 2024-09-05 10:00:55 +01:00
scalability [ON-WEEK][POC] Playwright (#190803) 2024-09-06 13:09:18 +02:00
screenshot_creation [8.x] [Observability] add custom threshold functional test (#184602) (#193248) 2024-09-18 04:32:36 -05:00
search_sessions_integration [8.x] Fix discover async search relative timerange test (#197740) (#199020) 2024-11-05 15:08:55 -06:00
security_api_integration [8.x] [Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898) (#200807) 2024-11-19 15:13:06 -06:00
security_functional [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
security_solution_api_integration [SecuritySolution] Fix 8.17.3 branch by reverting bugfix (#212729) 2025-02-28 11:18:27 +00:00
security_solution_cypress [8.17] [Bug][Security Solution] - Reliably persist dataview selections for timeline (#211343) (#213491) 2025-03-07 08:21:21 +01:00
security_solution_endpoint [8.x] [EDR Workflows] Unskip and fix flaky endpoint exceptions FTR (#197457) (#197662) 2024-10-24 11:16:23 -05:00
security_solution_ftr [8.x] [Threat Hunting Investigations] Migrate all timeline routes to OpenAPI types (#190238) (#194606) 2024-10-01 12:06:41 -05:00
security_solution_playwright [ON-WEEK][POC] Playwright (#190803) 2024-09-06 13:09:18 +02:00
session_view [Cloud Security] add Kibana e2e support for Auditbeat (#179985) 2024-04-16 07:28:09 -07:00
spaces_api_integration [8.x] [Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898) (#200807) 2024-11-19 15:13:06 -06:00
stack_functional_integration [8.x] [QA]Change screenshot size for metricbeat dashboard test (#199378) (#199398) 2024-11-07 19:03:31 -06:00
task_manager_claimer_update_by_query [8.17] Disable Inference Connector experimental feature (#196036) (#202538) 2024-12-02 14:11:37 -06:00
ui_capabilities [8.x] fix(security, features): do not expose UI capabilities of the deprecated features (#198656) (#199147) 2024-11-06 09:52:51 -06:00
upgrade [Dashboard] Remove library and drilldown notifications (#190797) 2024-09-09 14:11:15 -07:00
upgrade_assistant_integration [8.17] Flaky #199782 (#203978) (#204017) 2024-12-12 08:59:36 -06:00
usage_collection Rename Management team name in codeowners file (#178626) 2024-03-18 15:46:31 +00:00
kibana.jsonc [CODEOWNERS] fix appex-qa ownership (#189602) 2024-07-31 14:20:47 +02:00
tsconfig.json [8.x] [Cases] [Security Solution] New cases subfeatures, add comments and reopen cases (#194898) (#200807) 2024-11-19 15:13:06 -06:00