-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unclear Event Handling #152
Comments
At the moment, there's also the following event that's closely related to the incident age, you would see it if the triggering of an escalation is delayed when the daemon wasn't running at the time it should have triggered. icinga-notifications/internal/incident/incidents.go Lines 48 to 52 in 4e5716e
Yes. The initial idea was that it would be very helpful to see during testing the time-based escalation what exactly caused the escalation. Then I figured this could be useful in general to always have an explicit event given as the cause for every action that happened.
That would be my preferred option unless someone comes up with a need for |
Then the type should reflect that. Not just
Let's discuss/brainstorm this next week. We should settle this for once since internal events (written to db) weren't in my picture at the time. We must also not forget, that additions to escalation conditions may influence our decision. (We should think of some new ones anyway) |
With the introduction of internal events, questions arose how to visualize them in Web. (See Icinga/icinga-notifications-web#157 for details)
Questions
a) Are there other events with
type='internal'
that don't relate to an incident's age?If so, there is currently no way to reliably differentiate them from another, which would then be needed.
b) Internal events are linked to entries in
incident_history
, so the goal was seemingly to have an event for them as otherwise there wouldn't be any. Is this correct?c) @julianbrost and me already had a discussion which led to the topic of
incident_history.caused_by_incident_history_id
. If b) is correct, isn't this the same?Shouldn't we drop it then and make
incident_history.event_id
not nullable?The text was updated successfully, but these errors were encountered: