Skip to content

Commit

Permalink
feat: make collector health check timeout configurable (#1371)
Browse files Browse the repository at this point in the history
When there's a big volume of traffic, collector can take longer to
respond to the health check

- add a new config option `HealthCheckTimeout` in `Collection`

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
  • Loading branch information
VinozzZ and TylerHelmuth committed Oct 16, 2024
1 parent 75a8f31 commit 46aec47
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/metadata/configMeta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,16 @@ groups:
description: >
The `HealthCheckTimeout` setting specifies the maximum duration allowed for the health checks of the collection subsystems to complete. If a subsystem does not respond within this timeout period, it will be marked as unhealthy. This timeout value should be set carefully to ensure that transient delays do not lead to unnecessary failure detection while still allowing for timely identification of actual health issues.
- name: HealthCheckTimeout
type: duration
valuetype: nondefault
firstversion: v2.8
default: 3s
reload: false
summary: Controls the maximum duration allowed for collection health checks to complete.
description: >
The `HealthCheckTimeout` setting specifies the maximum duration allowed for the health checks of the collection subsystems to complete. If a subsystem does not respond within this timeout period, it will be marked as unhealthy. This timeout value should be set carefully to ensure that transient delays do not lead to unnecessary failure detection while still allowing for timely identification of actual health issues.
- name: BufferSizes
title: "Buffer Sizes"
description: >
Expand Down

0 comments on commit 46aec47

Please sign in to comment.