vmware_exporter icon indicating copy to clipboard operation
vmware_exporter copied to clipboard

Need /healthz endpoint(s)

Open josdotso opened this issue 7 years ago • 1 comments

Hi.

I'm looking to deploy this via container to Kubernetes, where health checking of http endpoints is a manner of container life or death.

If Kubernetes can't get a 200 OK without polling vCenter API, using health checks with vmware_exporter could DoS vCenter API.

Could we get a /healthz endpoint (or two)?

  • 200 OK if web server is up. /healthz
  • 200 OK if vCenter API is up (without polling metrics). /healthz/api?vcenter.example.com

Edit: This is related: https://stackoverflow.com/questions/43380939/where-does-the-convention-of-using-healthz-for-application-health-checks-come-f

Open to your thoughts.

Thanks for this awesome project!

-Joshua

josdotso avatar Dec 22 '17 17:12 josdotso

Hello @josdotso,

I've just added /healthz endpoint, can you try it?

rverchere avatar Jan 30 '18 22:01 rverchere