Skip to content

Add remote api call for quit.#59

Open
mikewolfxyou wants to merge 1 commit intoweaveworks:masterfrom
mikewolfxyou:allow-quit-via-api-call
Open

Add remote api call for quit.#59
mikewolfxyou wants to merge 1 commit intoweaveworks:masterfrom
mikewolfxyou:allow-quit-via-api-call

Conversation

@mikewolfxyou
Copy link
Copy Markdown

@mikewolfxyou mikewolfxyou commented Jul 19, 2022

This feature could be used when we need to send a quit signal to shut down the service from outside of the push gateway container.

e.g., a Kubernetes cron job uses the push gateway to push the metric; when the corn job is finished, we need to send a shutdown signal to the push gateway container otherwise, the push gateway container will keep running forever, and the job will be marked as failed.

This feature could be used when we need outside of container send a quit signal to shutdown the service.
@mikewolfxyou mikewolfxyou force-pushed the allow-quit-via-api-call branch from 08f992c to 3c53006 Compare July 19, 2022 07: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

Successfully merging this pull request may close these issues.

1 participant