Description
Metrics Observer configuration.
Usages
Configuration options
| Key | Kind | Type | Default Value | Description |
|---|---|---|---|---|
app-name | VALUE | String | Value for the application tag to be added to each meter ID | |
app-tag-name | VALUE | String | Name for the application tag to be added to each meter ID | |
auto-http-metrics | VALUE | i.h.w.o.m.AutoHttpMetricsConfig | Automatic metrics collection settings | |
built-in-meter-name-format | VALUE | i.h.m.a.BuiltInMeterNameFormat | CAMEL | Output format for built-in meter names |
enabled | VALUE | Boolean | true | Whether metrics functionality is enabled |
endpoint | VALUE | String | metrics | N/A |
key-performance-indicators | VALUE | i.h.m.a.KeyPerformanceIndicatorMetricsConfig | Key performance indicator metrics settings | |
permit-all | VALUE | Boolean | true | Whether to allow anybody to access the endpoint |
publishers | LIST | i.h.m.a.MetricsPublisher | Metrics publishers which make the metrics data available to external systems | |
publishers-discover-services | VALUE | Boolean | false | Whether to enable automatic service discovery for publishers |
rest-request.enabled | VALUE | Boolean | false | Whether automatic REST request metrics should be measured |
roles | LIST | String | observe | Hints for role names the user is expected to be in |
scoping | VALUE | i.h.m.a.ScopingConfig | Settings related to scoping management | |
tags | LIST | i.h.m.a.MetricsConfigSupport | Global tags | |
timers.json-units-default | VALUE | TimeUnit | Default units for timer output in JSON if not specified on a given timer | |
virtual-threads.enabled | VALUE | Boolean | false | Whether Helidon should expose meters related to virtual threads |
virtual-threads.pinned.threshold | VALUE | Duration | PT0.020S | Threshold for sampling pinned virtual threads to include in the pinned threads meter |
warn-on-multiple-registries | VALUE | Boolean | true | Whether to log warnings when multiple registries are created |
Deprecated Options
| Key | Kind | Type | Default Value | Description |
|---|---|---|---|---|
gc-time-type | VALUE | i.h.m.a.GcTimeType | COUNTER | Whether the gc.time meter should be registered as a gauge (vs |
rest-request-enabled | VALUE | Boolean | Whether automatic REST request metrics should be measured (as indicated by the deprecated config key rest-request-enabled, the config key using a hyphen instead of a dot separator) |
See the manifest for all available types.