Skip to content

Commit b818b63

Browse files
[9.2] [Discover][APM] Fix message warning not appearing from context (#242173) (#242232)
# Backport This will backport the following commits from `main` to `9.2`: - [[Discover][APM] Fix message warning not appearing from context (#242173)](#242173) <!--- 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-07T09:06:18Z","message":"[Discover][APM] Fix message warning not appearing from context (#242173)\n\n## Summary\n\nFixes the warning messages not appearing in the Unified Trace Waterfall,\nas it wasn't getting passed into the context correctly.\n\n<img width=\"475\" height=\"193\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f35d4a99-2b74-4f54-9cf0-16902d95bbe0\"\n/>\n\n## How to test\n\n- Go to Discover whilst on Observability space, select an OTEL traces\nindex in either classic or ES|QL mode\n- Open a trace document and view the overview, find until you get a\ntrace with partial/incomplete data.\n- The warning should show in full on the focused trace waterfall, and on\nthe full trace waterfall","sha":"698bc828630f25a82afc556b739e87177577a1f7","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","v8.19.7","v9.1.7","v9.2.1"],"title":"[Discover][APM] Fix message warning not appearing from context","number":242173,"url":"https://github.com/elastic/kibana/pull/242173","mergeCommit":{"message":"[Discover][APM] Fix message warning not appearing from context (#242173)\n\n## Summary\n\nFixes the warning messages not appearing in the Unified Trace Waterfall,\nas it wasn't getting passed into the context correctly.\n\n<img width=\"475\" height=\"193\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f35d4a99-2b74-4f54-9cf0-16902d95bbe0\"\n/>\n\n## How to test\n\n- Go to Discover whilst on Observability space, select an OTEL traces\nindex in either classic or ES|QL mode\n- Open a trace document and view the overview, find until you get a\ntrace with partial/incomplete data.\n- The warning should show in full on the focused trace waterfall, and on\nthe full trace waterfall","sha":"698bc828630f25a82afc556b739e87177577a1f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.1","9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242173","number":242173,"mergeCommit":{"message":"[Discover][APM] Fix message warning not appearing from context (#242173)\n\n## Summary\n\nFixes the warning messages not appearing in the Unified Trace Waterfall,\nas it wasn't getting passed into the context correctly.\n\n<img width=\"475\" height=\"193\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f35d4a99-2b74-4f54-9cf0-16902d95bbe0\"\n/>\n\n## How to test\n\n- Go to Discover whilst on Observability space, select an OTEL traces\nindex in either classic or ES|QL mode\n- Open a trace document and view the overview, find until you get a\ntrace with partial/incomplete data.\n- The warning should show in full on the focused trace waterfall, and on\nthe full trace waterfall","sha":"698bc828630f25a82afc556b739e87177577a1f7"}},{"branch":"8.19","label":"v8.19.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Gonçalo Rica Pais da Silva <[email protected]>
1 parent 794bb93 commit b818b63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/solutions/observability/plugins/apm/public/components/shared/trace_waterfall/trace_waterfall_context.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function TraceWaterfallContextProvider({
8686
showLegend,
8787
serviceName,
8888
}: Props) {
89-
const { duration, traceWaterfall, maxDepth, rootItem, legends, colorBy, traceState } =
89+
const { duration, traceWaterfall, maxDepth, rootItem, legends, colorBy, traceState, message } =
9090
useTraceWaterfall({
9191
traceItems,
9292
});
@@ -116,6 +116,7 @@ export function TraceWaterfallContextProvider({
116116
colorBy,
117117
showLegend,
118118
serviceName,
119+
message,
119120
}}
120121
>
121122
{children}

0 commit comments

Comments
 (0)