#Harvest /health endpoint
1 messages · Page 1 of 1 (latest)
There is bin/harvest doctor that may be helpful. Else, maybe querying the metrics exporter endpoint?
Hi @strange lichen there is no /health route, as @urban wharf suggested, can you query the /metrics endpoint instead as a liveness check?
probes working as expected with /metrics but it causus lot of conn reset error
time=2025-08-27T22:02:48.525Z level=ERROR source=httpd.go:213 msg="write metrics" Poller=qa-de-2-stnpca1 exporter=prometheus error="write tcp 100.64.0.158:2000->240.243.163.21:57596: write: connection reset by peer"
time=2025-08-27T22:02:48.525Z level=ERROR source=httpd.go:213 msg="write metrics" Poller=qa-de-2-stnpca1 exporter=prometheus error="write tcp 100.64.0.158:2000->240.243.163.21:57596: write: connection reset by peer"```
without probes i dont see any conn reset issues..
@strange lichen ah, yes, that makes sense. Can you open a feature request for this and describe what you want us to return in the health check? https://github.com/NetApp/harvest/issues
https://github.com/NetApp/harvest/issues/3878 @brisk mantle
Sorry went on vacation.. delayed to get this.. 😐
Thanks!
@strange lichen These changes are available in the nightly build if you want to give it a try.
Thanks 🙂 Amazing work!!