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

[SLO] API to reset an SLO (Create api/observability/slos/{id}/_reset) #170455

Closed
simianhacker opened this issue Nov 2, 2023 · 2 comments · Fixed by #170473
Closed

[SLO] API to reset an SLO (Create api/observability/slos/{id}/_reset) #170455

simianhacker opened this issue Nov 2, 2023 · 2 comments · Fixed by #170473
Assignees
Labels
enhancement New value added to drive a business result Feature:SLO Team:obs-ux-management Observability Management User Experience Team

Comments

@simianhacker
Copy link
Member

simianhacker commented Nov 2, 2023

We need an API that will reset an SLO that does the following:

  • Stops the SLO's rollup transform
  • Deletes the SLO's rollup transforms
  • (Optional) Delete the existing SLI roll-up data
  • Delete summary data for the SLO
  • Installs the current version rollup transform
    • If they've chosen to not delete the existing rollup data, we should add a range query that only looks as far back as the max timestamp in the existing data.
  • Starts the SLO rollup transform
  • Updates the SLO definition with the current resource version

Once we have this, we can developer a migration guide for users coming from BETA to GA where we have some schema updates that need to happen.

@simianhacker simianhacker added enhancement New value added to drive a business result Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Feature:SLO labels Nov 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@paulb-elastic paulb-elastic changed the title [SLO] Create api/observability/slos/{id}/_reset endpoint to reset an SLO [SLO] Endpoint to reset an SLO (Create api/observability/slos/{id}/_reset) Nov 2, 2023
@paulb-elastic paulb-elastic changed the title [SLO] Endpoint to reset an SLO (Create api/observability/slos/{id}/_reset) [SLO] API to reset an SLO (Create api/observability/slos/{id}/_reset) Nov 2, 2023
@kdelemme kdelemme self-assigned this Nov 3, 2023
@paulb-elastic paulb-elastic added the Team:obs-ux-management Observability Management User Experience Team label Nov 10, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@paulb-elastic paulb-elastic removed the Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:SLO Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants