Skip to content
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

Deleting an Entity should delete its associated events #4943

Open
lspxxv opened this issue Jan 19, 2023 · 1 comment
Open

Deleting an Entity should delete its associated events #4943

lspxxv opened this issue Jan 19, 2023 · 1 comment
Labels
component:backend Sensu Backend improvements

Comments

@lspxxv
Copy link

lspxxv commented Jan 19, 2023

Deleting an Entity should include its associated events so stale events aren't still hanging around when the parent entity has been removed from monitoring.

Feature Suggestion

Customer comment - It helps keep the event database clean and we don't have to write external scripting to parse the event list and figure out what is stale...

Possible Implementation

Context

internal ref - https://secure.helpscout.net/conversation/2129763947/30718?folderId=4465878

@lspxxv lspxxv added the component:backend Sensu Backend improvements label Jan 19, 2023
@asachs01
Copy link

asachs01 commented Feb 3, 2023

Resolve vs. delete events? We have customers who have use cases (like decommissioning nodes/hardware) where they would want a decommed entity to no longer have associated events. @portertech is thinking it would be a separate API.

Two cleanups here:

  • Entity doesn't exist, events should be cleaned up (could there be a /decom endpoint?)
  • Check doesn't exist, events should be cleaned up (there's more here that would need to be fleshed out)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:backend Sensu Backend improvements
Projects
None yet
Development

No branches or pull requests

2 participants