commercetools / sphere-play-sdk

Java API client and helper classes for building a SPHERE.IO shop on Play 2.2
http://sphere.io
7 stars 6 forks source link

Show metrics #93

Closed schleichardt closed 10 years ago

schleichardt commented 10 years ago
svenmueller commented 10 years ago

a proper healthcheck for the application would also be nice

schleichardt commented 10 years ago

How does a proper health check look like?

hajoeichler commented 10 years ago

It should check that it can make an API request. Especially an search request as it is the most used endpoint for a webshop. Further it may check any other service the shop uses and depending on the criticality return with 400.

svenmueller commented 10 years ago

btw, the mentioned lib also provides some healthcheck logic http://metrics.codahale.com/getting-started/#health-checks (of course we need them reported via http)

schleichardt commented 10 years ago

moved ticket to https://github.com/sphereio/sphere-jvm-sdk/issues/65