Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job: create a prometheus endpoint #699

Merged
merged 1 commit into from Dec 29, 2019
Merged

job: create a prometheus endpoint #699

merged 1 commit into from Dec 29, 2019

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Dec 28, 2019

Export the most recent stop time and exit status in
a prometheus-friendly format.

# HELP hydra_job_completion_time The most recent job's completion time
# TYPE hydra_job_completion_time counter
hydra_job_completion_time{project="nixpkgs",jobset="trunk",job="unstable",nixname="nixpkgs-20.03pre206075.d68c70f1bbb"} 1576853952
# HELP hydra_job_failed Record if the most recent version of this job failed (1 means failed)
# TYPE hydra_job_failed gauge
hydra_job_failed{project="nixpkgs",jobset="trunk",job="unstable",nixname="nixpkgs-20.03pre206075.d68c70f1bbb"} 1

http://147.75.75.222:3000/job/nixpkgs/trunk/unstable/prometheus

Export the most recent stop time and exit status in
a prometheus-friendly format.
@grahamc grahamc merged commit f8875f2 into NixOS:master Dec 29, 2019
@grahamc grahamc deleted the job-prom branch December 29, 2019 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant