-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Show alert annotations on charts #85479
Comments
We don't currently track the value or threshold at the time the alert executors run. Presumably the value would be available in the sourced data (blue line in the graph ^^^). But we also don't track the threshold - I suspect that this will become possible once we have a "alerts as data" story, where an alert will be able to store alert-specific data ... somewhere ... when the alert executors run. Today, we only store alert-generic data (so, not much).
I assume
Beyond what I mentioned above, the event log can provide timestamps for when alerts are active ("active-instance"), when they have just become active after not being active before ("new-instance"), when they are no longer active after they being active before ("recovered-instance"), errors (fields from the "execute" doc), and when actions have been invoked because the alert was active ("execute-action"). I think the timestamps will be the only interesting bit of info here (besides the alert id, etc). Should be enough to show the vertical lines in the graph ^^^ ; If the pink-shaded areas are "alert was active", you can bound those by "new-instance" and "recovered-intstance" events, but keep in mind the query may not contain ALL the data, so you could have a string of "active-instance" events, with no "new-" or "recovered-" event, which would indicate the alert has been firing since before the data returned from the query, and/or beyond the data returned from the query (or possibly still active). |
Thanks for the feedback @pmuellr!
That's fine for for now.
Yes, we are hoping to retrieve alerts by alert params.
I think timestamps for "execute-action" is the only useful one for us. |
Closing. @katrin-freihofner will create a new issue to replace this. |
Pinging @elastic/apm-ui (Team:apm) |
Blocked by: #90627
Show alerts as annotations on latency chart. The alert instance should be displayed at the time it occurred. On hover it should be possible to see the threshold and the value that exceeded the threshold.
Only alerts matching the currently selected
service.name
andservice.environment
(via alert params) should be displayed.The text was updated successfully, but these errors were encountered: