Skip to content

[9.4] [SLO] Fix APM embeddable ids (#264750)#264940

Merged
kibanamachine merged 1 commit intoelastic:9.4from
kibanamachine:backport/9.4/pr-264750
Apr 22, 2026
Merged

[9.4] [SLO] Fix APM embeddable ids (#264750)#264940
kibanamachine merged 1 commit intoelastic:9.4from
kibanamachine:backport/9.4/pr-264750

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic#264008

As part of the dashboards as code effort, elastic#254079 introduced a change by
which embeddable ids were changed. While most usages were properly
updated, a couple of hardcoded string references in the SLO plugin were
left unchanged. This is leading to issues where the APM embeddables in
the alert details page are failing to be displayed because the code is
unable to find the appropiate embeddable factory when searching by it's
old id.

In order to prevent issues like this in the future, I plan to do a
follow up PR providing a proper fix to this issue in a way that allows
the SLO plugin to consume the embeddable id constants defined in APM
instead of having to relay on redefining the strings values in both
plugins, which can lead to inconsistencies as this one. But, given the
timing with the 9.4 BC I've decided to go first for this quick-and-easy
approach of just changing the strings in the SLO plugin as well. While
this is not ideal code-wise it will allow us to have a low-risk fix in
time to be backported to 9.4 so we don't ship this view in a broken
state.

(cherry picked from commit 1463b9b)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 22, 2026
@kibanamachine kibanamachine enabled auto-merge (squash) April 22, 2026 08:24
@kibanamachine kibanamachine merged commit e7f7599 into elastic:9.4 Apr 22, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants