Reference
Reference: server.metrics
server.metrics.address
| Syntax | address: <string> |
| Default | 127.0.0.1:9901 |
| Context | server.metrics |
| Reload | needs a restart |
Serves /metrics (Prometheus text format) and /healthz. Loopback by default.
server.metrics.enabled
| Syntax | enabled: true | false |
| Default | true |
| Context | server.metrics |
| Reload | needs a restart |
Serve the metrics listener.
server.metrics.hosts
| Syntax | hosts: true | false |
| Default | true |
| Context | server.metrics |
| Reload | applies 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
| Syntax | max_hosts: <integer> |
| Default | 1000 |
| Context | server.metrics |
| Reload | applies on reload |
Domains counted separately; further domains are counted as _other (at most 16383).