hashicorp / hashicorp/consul

HTTP Health check add Response HTTP codes option

Open
#2,294 6 comments 13 reactions 0 assignees View on GitHub
theme/health-checks type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

Hello,

according to docs:

> any 2xx code is considered passing, a 429 Too Many Requests is a warning, and anything else is a failure.

It would be nice to leave it as default behaviour, but optionally add ability to set response HTTP codes that also should be considered as good.
For exmaple: 302, 405, 403

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.