Reference

Reference: server.metrics

server.metrics.address

Syntaxaddress: <string>
Default127.0.0.1:9901
Contextserver.metrics
Reloadneeds a restart

Serves /metrics (Prometheus text format) and /healthz. Loopback by default.

server.metrics.enabled

Syntaxenabled: true | false
Defaulttrue
Contextserver.metrics
Reloadneeds a restart

Serve the metrics listener.

server.metrics.hosts

Syntaxhosts: true | false
Defaulttrue
Contextserver.metrics
Reloadapplies on reload

Per-domain counters (scalws_http_host_*): requests by status class, body bytes, cache hits, in-flight requests. One series set per configured domain pattern; hosts that match no domain are counted as _other.

server.metrics.max_hosts

Syntaxmax_hosts: <integer>
Default1000
Contextserver.metrics
Reloadapplies on reload

Domains counted separately; further domains are counted as _other (at most 16383).