Skip to content

Instantly share code, notes, and snippets.

@eranharel
Created August 5, 2019 13:28
Show Gist options
  • Save eranharel/9c3c386f2056c16a143a443c62bef449 to your computer and use it in GitHub Desktop.
Save eranharel/9c3c386f2056c16a143a443c62bef449 to your computer and use it in GitHub Desktop.
go-sundheit query health API
$ curl -i http://localhost:8080/admin/health.json
HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 17 Jul 2019 12:54:20 GMT
Content-Length: 208
{
"resolve.example.com": {
"message": "[2] results were resolved",
"timestamp": "2019-07-17T15:54:18.225468956+03:00",
"duration": 1689142,
"contiguousFailures": 0,
"timeOfFirstFailure": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment