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

statsdaemon: add health monitoring #98

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

OscarLuu
Copy link
Member

@OscarLuu OscarLuu commented Mar 4, 2020

This PR adds health monitoring checks to see if data has been pushed recently.

More specifically, it creates a heartbeat.monitor file if it does not exist and if it does exist it will touch the file to update last access time after data has been pushed.

This should be coupled with a Nagios alert or similar to check if the file has been touched recently meaning that data has been pushed.

statsdaemon.go Outdated Show resolved Hide resolved
statsdaemon.go Show resolved Hide resolved
statsdaemon.go Outdated Show resolved Hide resolved
@OscarLuu OscarLuu force-pushed the statsdaemon_health_monitoring branch from 951fbac to ba741e3 Compare March 5, 2020 19:28
@OscarLuu OscarLuu force-pushed the statsdaemon_health_monitoring branch from ba741e3 to 88e29df Compare March 6, 2020 16:38
@jehiah jehiah merged commit 0d533dc into bitly:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants