[8.x] [APM] Breakdown Top dependencies API (#211441)#213790
Merged
cauemarcondes merged 2 commits intoelastic:8.xfrom Mar 11, 2025
Merged
[8.x] [APM] Breakdown Top dependencies API (#211441)#213790cauemarcondes merged 2 commits intoelastic:8.xfrom
cauemarcondes merged 2 commits intoelastic:8.xfrom
Conversation
closes elastic#210552 Before: - Top dependencies API returned baseline and comparison timeseries data. <img width="1208" alt="Screenshot 2025-02-14 at 14 27 28" src="https://github.com/user-attachments/assets/f7770395-0575-4950-9acd-8808de5794b7" /> After: - Removing timeseries and comparison data. - The API is ~2s faster than before. - Response size is also smaller after removing the timeseries data. <img width="1203" alt="Screenshot 2025-02-14 at 14 26 34" src="https://github.com/user-attachments/assets/5bd2ed09-1d2e-4ef1-8e55-6c3e9fba6348" /> Created a new API: `POST /internal/apm/dependencies/top_dependencies/statistics` to fetch the statistics for the visible dependencies. --------- Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com> Co-authored-by: Milosz Marcinkowski <38698566+miloszmarcinkowski@users.noreply.github.com> (cherry picked from commit a6fd5b7) # Conflicts: # x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_stats.ts # x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/index.ts # x-pack/test/api_integration/deployment_agnostic/apis/observability/apm/service_overview/dependencies/index.spec.ts
Contributor
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Contributor
💚 Build Succeeded
Metrics [docs]Async chunks
Public APIs missing exports
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
|
miloszmarcinkowski
approved these changes
Mar 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.x:Questions ?
Please refer to the Backport tool documentation