Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Handler that can process "OK" checks #450

Closed
cameronbraid opened this issue Jan 24, 2013 · 1 comment
Closed

Handler that can process "OK" checks #450

cameronbraid opened this issue Jan 24, 2013 · 1 comment

Comments

@cameronbraid
Copy link

I was hoping to implement a handler that logs all OK check events by configuring it using severities:['ok']

I looked at server.rb code and only "non OK" check results are passed to handle_event.

Is there any way you can change it that if a handler defines it supports an OK severity, that they are called for each check result ?

@nstielau
Copy link
Contributor

Hey @cameronbraid!

If you set the type of the handler to "metric" it will handle all requests. Metrics generally don't care about status, they just want to send the metrics along, regardless of the status. Give that a shot, should work out. I'm closing this out for now, hit us up on IRC if you have any other questions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants