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

Add remote api call for quit. #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikewolfxyou
Copy link

@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.
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