hashicorp / hashicorp/nomad

nomad-sd: Expose service check status as metrics

Open
#16,602 6 comments 3 reactions 0 assignees View on GitHub
hcc/jira stage/accepted theme/client theme/metrics type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Proposal
Expose service's health check status via metrics.
Ideally, it would be nice to have a gauge for healthy vs unhealthy allocations of a specific service.

### Use-cases
Allow external tools to detect cases in which service went unhealthy.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the nomad-sd service-check handling and the existing metrics entry points in the Nomad codebase. Define how healthy and unhealthy allocations for a specific service should be represented, then verify that the resulting metrics expose the service health changes described in the proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.