Commit a6bb528
# Backport
This will backport the following commits from `main` to `9.2`:
- [[APM] Transaction routes to use `accessKnownApmEventFields`
(elastic#243502)](elastic#243502)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da
Silva","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-11-21T12:22:48Z","message":"[APM]
Transaction routes to use `accessKnownApmEventFields` (elastic#243502)\n\n##
Summary\n\nCloses
[elastic#243370](https://github.com/elastic/kibana/issues/243370)\n\nThe rest
of the `transaction` routes in APM being updated to make use
of\n`accessKnownApmEventFields`, along with removing some `lodash`
usages\nwhere native JS equivalents are available.\n\n## How to
test\n\n- Go to Discover on an Observability space, select a traces
index (APM\nand/or OTEL) in either Classic or ES|QL.\n- Select a trace
with either an event.outcome as failure or status.code\nas Error. On
spans/transactions with an error attached to it, it should\nshow on both
the focused and full trace waterfall without any issue.\n- Going through
to the APM page via the trace.id link, the APM trace\nwaterfall should
also show the same errors with no issue.\n- Clicking on a trace span
should open up to show the Span details\nwithout issue/regression.\n-
Trace samples should be available without
issue/regression.","sha":"89afdb36bf577a7ec847e85e53cd85eef1283b6d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-infra_services","backport:version","v9.3.0","Team:obs-exploration","ci:beta-faster-pr-build","v8.19.8","v9.2.2","v9.1.8"],"title":"[APM]
Transaction routes to use
`accessKnownApmEventFields`","number":243502,"url":"https://github.com/elastic/kibana/pull/243502","mergeCommit":{"message":"[APM]
Transaction routes to use `accessKnownApmEventFields` (elastic#243502)\n\n##
Summary\n\nCloses
[elastic#243370](https://github.com/elastic/kibana/issues/243370)\n\nThe rest
of the `transaction` routes in APM being updated to make use
of\n`accessKnownApmEventFields`, along with removing some `lodash`
usages\nwhere native JS equivalents are available.\n\n## How to
test\n\n- Go to Discover on an Observability space, select a traces
index (APM\nand/or OTEL) in either Classic or ES|QL.\n- Select a trace
with either an event.outcome as failure or status.code\nas Error. On
spans/transactions with an error attached to it, it should\nshow on both
the focused and full trace waterfall without any issue.\n- Going through
to the APM page via the trace.id link, the APM trace\nwaterfall should
also show the same errors with no issue.\n- Clicking on a trace span
should open up to show the Span details\nwithout issue/regression.\n-
Trace samples should be available without
issue/regression.","sha":"89afdb36bf577a7ec847e85e53cd85eef1283b6d"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/243502","number":243502,"mergeCommit":{"message":"[APM]
Transaction routes to use `accessKnownApmEventFields` (elastic#243502)\n\n##
Summary\n\nCloses
[elastic#243370](https://github.com/elastic/kibana/issues/243370)\n\nThe rest
of the `transaction` routes in APM being updated to make use
of\n`accessKnownApmEventFields`, along with removing some `lodash`
usages\nwhere native JS equivalents are available.\n\n## How to
test\n\n- Go to Discover on an Observability space, select a traces
index (APM\nand/or OTEL) in either Classic or ES|QL.\n- Select a trace
with either an event.outcome as failure or status.code\nas Error. On
spans/transactions with an error attached to it, it should\nshow on both
the focused and full trace waterfall without any issue.\n- Going through
to the APM page via the trace.id link, the APM trace\nwaterfall should
also show the same errors with no issue.\n- Clicking on a trace span
should open up to show the Span details\nwithout issue/regression.\n-
Trace samples should be available without
issue/regression.","sha":"89afdb36bf577a7ec847e85e53cd85eef1283b6d"}},{"branch":"8.19","label":"v8.19.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Gonçalo Rica Pais da Silva <[email protected]>
1 parent a6a668b commit a6bb528
6 files changed
+44
-34
lines changedLines changed: 16 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
157 | 154 | | |
158 | 155 | | |
159 | 156 | | |
| |||
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | | - | |
74 | | - | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments