Reputation: 5083
Dropwizard provides a /ping endpoint on it's admin port (7001) that responds with a "pong" string.
Is it possible to customize the behavior of this call? What I'm looking for is to be able to control the response of the call based on application code.
Upvotes: 0
Views: 1800
Reputation: 10962
It's actually not Dropwizard that provides this - it's the metrics library.
You could register your own servlet. Or maybe it makes sense to use a health check?
Upvotes: 2