hashicorp/consul

Truncate check HTTP check output if too long

Open

#8.611 aberto em 3 de set. de 2020

Ver no GitHub
 (13 comments) (0 reactions) (0 assignees)Go (4.588 forks)batch import
Hacktoberfesthelp-wantedtheme/health-checkstheme/uitype/enhancement

Métricas do repositório

Stars
 (29.891 stars)
Métricas de merge de PR
 (Mesclagem média 8d 12h) (41 fundiu PRs em 30d)

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.

Guia do colaborador