Truncate check HTTP check output if too long
Open
Hacktoberfest
help-wanted
theme/health-checks
theme/ui
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
### Feature Description
I'd like the output from HTTP checks to be truncated if it's too long. Either automatically or via configuration option that specifies number of lines/characters for example.
#### Use Case(s)
Many services don't provide a sensible health check endpoint, which often results in having to use `/` or `/index.html` as check, but that can often result in a massive HTML response that makes the Consul UI for checks harder to navigate due to the size.
Contributor guide
Assessment
This issue has not been assessed yet.