io.helidon.webserver.observe.metrics.AutoHttpMetricsConfig
Description
Automatic metrics collection settings
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
opt- | List< | Elective attribute for which to opt in | |
paths | List< | Automatic metrics collection settings | |
sockets | List< | Socket names for sockets to be instrumented with automatic metrics | |
enabled | Boolean | true | Whether automatic metrics collection as a whole is enabled |
known- | List< | Exact, case-sensitive HTTP methods to be used in the HTTP method tag for automatic metrics, defaulted to the standard HTTP methods; assigning this value fully replaces the set of method names |
Deprecated Options
| Key | Type | Default | Description |
|---|---|---|---|
use- | Boolean | true | Retained for configuration compatibility with Helidon 4.x; Helidon 27 ignores the value and always uses the updated automatic HTTP metrics behavior |
Usages
See the manifest for all available types.