mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[SLO] do not display apm chart without transaction type or svc name (#209552)
## Summary Resolves #209172 ### Old <img width="1728" alt="Screenshot 2025-02-05 at 11 48 59 AM" src="https://github.com/user-attachments/assets/c08e9544-5a84-462b-80fe-cf5e982bfccf" /> ### New <img width="1728" alt="Screenshot 2025-02-05 at 11 47 57 AM" src="https://github.com/user-attachments/assets/d4f26f21-70a5-4c5c-9f43-05a9da6734c5" /> ## Testing Create an APM availability SLO with any service. Use default settings (`*`) for transaction type and service name. Once SLI drops below objective, you should see an alert. View alert details. On main branch, several alerts appear indicating that Kibana is unable to load APM visualizations, even if for just a second. Now, the errored out charts (alerts) should not appear. ## Release Notes Fixes an issue where APM charts were rendered without required transaction type or service name, causing excessive alerts to appear
This commit is contained in:
parent
f5c9d8b031
commit
b47c8266e7
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ export function APMEmbeddableRoot({
|
|||
...groupingsInput.input,
|
||||
};
|
||||
|
||||
if (!input.serviceName || !input.transactionType) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<ReactEmbeddableRenderer
|
||||
type={embeddableId}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue