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

RESTful API to return the latest shutdown events #121

Open
RitaMAllenCA opened this issue Mar 15, 2023 · 0 comments
Open

RESTful API to return the latest shutdown events #121

RitaMAllenCA opened this issue Mar 15, 2023 · 0 comments

Comments

@RitaMAllenCA
Copy link

RitaMAllenCA commented Mar 15, 2023

@hectoratcasper commented on Tue Mar 14 2023

https://docs.google.com/document/d/1vBRbBmij9HHotY_8HIaUKk5a9Kq9Rqgxlk-UAE_F7xs/edit?pli=1

The Shutdown event is emitted when the node is about to shut down, usually for an upgrade. This causes a termination of the event stream since the server is shutting down. The SSE sidecar stores this event in the shutdown table:

image

We require a new RESTful API for this event that would allow operators to get the latest node shutdown events filter by a limit:

<HOST:PORT>/shutdown?limit=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant