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 health status functionality #280

Merged
merged 3 commits into from
Apr 8, 2013
Merged

Add health status functionality #280

merged 3 commits into from
Apr 8, 2013

Conversation

draco2003
Copy link
Contributor

Adds health check functionality to Statsd. This allows the ability to check the current status, as well as the ability to change the state manually in preparation for cluster mode functionality.

healthStatus = 'down';
setTimeout(function() {
process.exit();
}, flushInterval);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we just want to flush directly here and then just wait 1 or 2 seconds and call process.exit() afterwards.

@mrtazz
Copy link
Member

mrtazz commented Mar 29, 2013

otherwise lgtm

@mrtazz
Copy link
Member

mrtazz commented Apr 8, 2013

:shipit:

draco2003 added a commit that referenced this pull request Apr 8, 2013
Add health status functionality, and handle SIGTERM more gracefully.
@draco2003 draco2003 merged commit 3b1bbac into master Apr 8, 2013
@draco2003 draco2003 deleted the health_status branch April 8, 2013 16:27
hbouvier pushed a commit to hbouvier/statsd that referenced this pull request May 25, 2013
Add health status functionality, and handle SIGTERM more gracefully.
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.

2 participants