neubot / dash

Go implementation of Neubot's DASH experiment
https://neubot.github.io
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

server: should export liveness metrics #4

Closed bassosimone closed 5 years ago

bassosimone commented 5 years ago

As discussed with @robertodauria it is possible to specify a path that should respond to an HTTP GET therefore the smartest way is to just export an URL for this purpose. We can probably use prometheus for this purpose, and specifically the /metrics endpoint.

robertodauria commented 5 years ago

I think this can be closed. We are using a httpGet liveness probe based on the HTTP status code returned by /metrics (200 = alive, not 200 = not alive.)

bassosimone commented 5 years ago

Thanks!