HTTP Server Configuration
HTTP server configuration is read from the httpServer section of the exporter YAML. HTTP mode still must be enabled by the Java agent or standalone command arguments.
Metrics path
The default metrics path is /metrics.
httpServer:
metrics:
path: /custom/metrics
rules:
- pattern: ".*"
The path must be a non-blank string when configured.
Thread pool
Defaults are minimum: 1, maximum: 10, and keepAliveTime: 120 seconds.
httpServer:
threads:
minimum: 1
maximum: 10
keepAliveTime: 120
rules:
- pattern: ".*"
When threads is configured, all three fields are required. Values must be integers greater than zero, and maximum must be greater than or equal to minimum. The server uses a blocking rejection handler for backpressure.