mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-26 07:25:51 +03:00
[GH-ISSUE #371] Expose job run times history via API #285
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mountaindude on GitHub (May 27, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/371
Similar to #349 , but not quite the same thing I believe.
I am particularly interested in run times of jobs, and would like to access this info via the API.
Basically, for a specific (or all) checks I'd like to retrieve start/end times in a JSON. And maybe the duration too, for convenience.
@cuu508 commented on GitHub (Jun 9, 2020):
We keep a log of received pings, and show them in web UI:
Would exposing the same information via API suffice? Let's say, if there was
endpoint, which would return (very approximately) this JSON:
@mountaindude commented on GitHub (Jun 9, 2020):
Yeah that would be great!
The duration is available in that JSON, super userful.
On Tue, 9 Jun 2020 at 14:41, Pēteris Caune notifications@github.com wrote:
@cuu508 commented on GitHub (Jun 11, 2020):
This is now implemented and deployed on https://healthchecks.io
@mountaindude commented on GitHub (Jun 11, 2020):
Cool!
Is the API endpoint the one you mentioned before, i.e.
GET https://server/api/v1/checks//log/ ?
@cuu508 commented on GitHub (Jun 11, 2020):
Ah, sorry, forgot to mention – the endpoint is
And it is documented here: https://healthchecks.io/docs/api/#list-pings