Update nomad metrics to include information about Job statusΒ #4036
Closed
Description
Hello,
We noticed that the metrics endpoint (scraped by Prometheus) exposes Task Group Summaries per Job's TaskGroup: https://github.com/hashicorp/nomad/blob/master/api/jobs.go#L691
However there are no metrics exposed for the job status (i.e. https://github.com/hashicorp/nomad/blob/master/api/jobs.go#L691)
Is that something I should compose by some aggregation on Task Group Summaries, or could this be a useful metric to add in a PR?