Hello,

I am relatively new to dropwizard - using 0.9.2.  My app needs to report 
health information in a particular format, and I'm trying to use the health 
check feature to fulfill that requirement. However, I can't find an entry 
point in the code to customize anything. All of Environment, 
HealthCheckRegistry, and HealthCheck.Result have private final members (and 
the registry doesn't expose a getter for the registered checks themselves). 
 Ideally I'd like to be able to store extra info in a HealthCheck subclass, 
which I could then include as part of the response when it runs:

{
    "myCheck" :
    {
        critical: true
        healthy: false
        external: true
    }
}

etc.

I could of course just completely roll my own solution via resources, but 
would strongly prefer to leverage the health check feature that's in place. 
Am I missing something, or is there no provided way to subclass any of 
these components?  Much thanks in advance for any guidance!

-Chris

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dropwizard-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to