Skip to content

Update nomad metrics to include information about Job statusΒ #4036

Closed
@sevagh

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?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions