Skip to content

io.helidon.webserver.observe.metrics.MetricsObserver

Description

Metrics Observer configuration

Configuration options

KeyTypeDefaultDescription
app-nameStringValue for the application tag to be added to each meter ID
app-tag-nameStringName for the application tag to be added to each meter ID
auto-http-metricsAutoHttpMetricsConfigAutomatic metrics collection settings
built-in-meter-name-formatBuiltInMeterNameFormatCAMELOutput format for built-in meter names
enabledBooleantrueWhether metrics functionality is enabled
endpointStringmetricsN/A
key-performance-indicatorsKeyPerformanceIndicatorMetricsConfigKey performance indicator metrics settings
permit-allBooleantrueWhether to allow anybody to access the endpoint
publishersList<MetricsPublisher>Metrics publishers which make the metrics data available to external systems
publishers-discover-servicesBooleanfalseWhether to enable automatic service discovery for publishers
rest-requestConfiguration for rest-request
rolesList<String>observeHints for role names the user is expected to be in
scopingScopingConfigSettings related to scoping management
tagsList<MetricsConfigSupport>Global tags
timersConfiguration for timers
virtual-threadsConfiguration for virtual-threads
warn-on-multiple-registriesBooleantrueWhether to log warnings when multiple registries are created

Deprecated Options

KeyTypeDefaultDescription
gc-time-typeGcTimeTypeCOUNTERWhether the gc.time meter should be registered as a gauge (vs
rest-request-enabledBooleanWhether 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)

Usages


See the manifest for all available types.