# Reference: server.health

URL: https://scalws.com/docs/reference/server-health/
Source: `docs/reference/schema` in the ScalWS repository

<h3 id="server.health.address"><code>server.health.address</code></h3>

| | |
|---|---|
| Syntax | `address: <string>` |
| Default | `none` |
| Context | `server.health` |
| Reload | needs a restart |

Address of the probe listener, e.g. `0.0.0.0:8081`; unset: no probe listener.


<h3 id="server.health.metrics"><code>server.health.metrics</code></h3>

| | |
|---|---|
| Syntax | `metrics: true \| false` |
| Default | `false` |
| Context | `server.health` |
| Reload | applies on reload |

Also serve `/metrics` (Prometheus text) on the probe listener.
