---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/reference/configuration/healthcheck_config.md
  - https://ydb.tech/docs/ru/reference/configuration/healthcheck_config.md
sourcePath: en/core/reference/configuration/healthcheck_config.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# healthcheck_config

The `healthcheck_config` section configures thresholds and timeout settings used by the YDB [health check service](https://ydb.tech/docs/en/reference/ydb-sdk/health-check-api.md). These parameters help configure detection of potential [issues](https://ydb.tech/docs/en/reference/ydb-sdk/health-check-api.md#issues), such as excessive restarts or time drift between dynamic nodes.

## Syntax

```yaml
healthcheck_config:
  thresholds:
    node_restarts_yellow: 10
    node_restarts_orange: 30
    nodes_time_difference_yellow: 5000
    nodes_time_difference_orange: 25000
    tablets_restarts_orange: 30
  timeout: 20000
```

## Parameters

| Parameter                                 | Default | Description                                                                   |
|-------------------------------------------|---------|-------------------------------------------------------------------------------|
| `thresholds.node_restarts_yellow`         | `10`    | Number of node restarts to trigger a `YELLOW` warning                         |
| `thresholds.node_restarts_orange`         | `30`    | Number of node restarts to trigger an `ORANGE` alert                          |
| `thresholds.nodes_time_difference_yellow` | `5000`  | Max allowed time difference (in us) between dynamic nodes for `YELLOW` issue  |
| `thresholds.nodes_time_difference_orange` | `25000` | Max allowed time difference (in us) between dynamic nodes for `ORANGE` issue  |
| `thresholds.tablets_restarts_orange`      | `30`    | Number of tablet restarts to trigger an `ORANGE` alert                        |
| `timeout`                                 | `20000` | Maximum health check response time (in ms)                                    |