Commit ee56099
[9.0] [APM] Remove span documents from getServiceAgent function (elastic#236732) (elastic#236944)
# Backport
This will backport the following commits from `main` to `9.0`:
- [[APM] Remove span documents from getServiceAgent function
(elastic#236732)](elastic#236732)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"Katerina","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-30T11:45:24Z","message":"[APM]
Remove span documents from getServiceAgent function (elastic#236732)\n\n##
Summary\n\ncloses elastic#236249
\n\nAdding the span document in the query negatively impacts the
performance\nof the
query","sha":"ef24924bb203f908921b756999967ccd160ff23d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:all-open","Team:obs-ux-infra_services","v9.2.0"],"title":"[APM]
Remove span documents from getServiceAgent
function","number":236732,"url":"https://github.com/elastic/kibana/pull/236732","mergeCommit":{"message":"[APM]
Remove span documents from getServiceAgent function (elastic#236732)\n\n##
Summary\n\ncloses elastic#236249
\n\nAdding the span document in the query negatively impacts the
performance\nof the
query","sha":"ef24924bb203f908921b756999967ccd160ff23d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236732","number":236732,"mergeCommit":{"message":"[APM]
Remove span documents from getServiceAgent function (elastic#236732)\n\n##
Summary\n\ncloses elastic#236249
\n\nAdding the span document in the query negatively impacts the
performance\nof the
query","sha":"ef24924bb203f908921b756999967ccd160ff23d"}}]}] BACKPORT-->
Co-authored-by: Katerina <[email protected]>1 parent 45c9471 commit ee56099
File tree
1 file changed
+1
-6
lines changed- x-pack/solutions/observability/plugins/apm/server/routes/services
1 file changed
+1
-6
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 57 | + | |
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
| |||
0 commit comments