hashicorp / hashicorp/consul

HTTP Status code in check HTTP API

Open
#1,468 11 comments 0 reactions 0 assignees View on GitHub
theme/api theme/health-checks type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Hi,

Wouldn't it be very interesting to have the possibility to query the HTTP check API for status and get a status code that reflects the state of the check?

This would allow to define services depending on other services for example.

Contributor guide

Open the contributing guide

Research direction

Start with the HTTP check API implementation and its existing status response behavior. Review how check state is represented and how dependent services would consume the response. Done means the API exposes status codes that reflect check state, with tests covering the mapping.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.