prometheus-nats-exporter icon indicating copy to clipboard operation
prometheus-nats-exporter copied to clipboard

[Request] Add a health check endpoint

Open jebbench opened this issue 7 years ago • 5 comments
trafficstars

We're deploying an instance of the metrics exporter to K8s and it would be useful to have a healthz endpoint that just returns 200.

We're hitting the metrics endpoint at the moment but I suspect that causes a whole lot of unnecessary work to be done for it to be ignored by K8s.

jebbench avatar Jan 22 '18 15:01 jebbench

this would be useful on gnatsd/nats-streaming-server as well.

aricart avatar Jan 22 '18 15:01 aricart

@jebbench , we discussed this internally today and will move forward with some design in this area. We really appreciate your suggestion!

ColinSullivan1 avatar Jan 22 '18 20:01 ColinSullivan1

customization of the endpoint path would be really appreciated! one could make it be /health or /healthcheck or any custom path

romuloctba avatar Aug 28 '20 12:08 romuloctba

@wallyqs any news on this one? Any chance that we could expect to see it in this quarter? I would be glad to help you with some contributions if it will help.

Zyqsempai avatar Mar 11 '21 11:03 Zyqsempai

@Zyqsempai not planned right now, but if you send a PR would help a ton of course.

wallyqs avatar Mar 19 '21 05:03 wallyqs