hashicorp/consul

Truncate check HTTP check output if too long

Open

#8,611 创建于 2020年9月3日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)Go (4,588 fork)batch import
Hacktoberfesthelp-wantedtheme/health-checkstheme/uitype/enhancement

仓库指标

Star
 (29,891 star)
PR 合并指标
 (平均合并 8天 12小时) (30 天内合并 41 个 PR)

描述

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.

贡献者指南