-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Heartbeat] New state created immediately after each monitor edit #33299
Comments
Pinging @elastic/uptime (Team:Uptime) |
I think the cause of is that we can't reliably connect to ES to read prior states, so when that work is complete it should be fixed. The reason the states are lost on edits is that heartbeat (or rather libbeat to be precise) has no notion of a config update, just stop and start, so the monitor is stopped, its in memory state is lost, then it is started. This isn't really so much a problem for ES since we'll at least have the last result in ES. I think our options are:
I do have some affinity for the caching idea, because one issue today is that ES may be slightly out of date if stuff is stuck in the beats pipeline. I think I'll probably proceed along those lines. |
Add read synthetics-* privilege for elastic/fleet-server service account. related: elastic/beats#33299
Add read synthetics-* privilege for elastic/fleet-server service account. related: elastic/beats#33299
Add read synthetics-* privilege for elastic/fleet-server service account. related: elastic/beats#33299 Co-authored-by: Emilio Alvarez Piñeiro <[email protected]>
Closed via #33405 and #91391. Tested working on |
Post-FF Testing LGTM |
The current states implementation has a bug where the first check for a given monitor will immediately transition after an edit. Editing should not cause this
This is a low priority bug since users do not yet use this feature.
The text was updated successfully, but these errors were encountered: