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 metrics endpoint when this config is used by a metrics observer
publishersMap<String, MetricsPublisher> or List<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>observeRole names allowed to access the metrics endpoint when this config is used by a metrics observer and #permitAll() is false
tagsList<MetricsConfigSupport>Global tags
timersConfiguration for timers
virtual-threadsConfiguration for virtual-threads
warn-on-multiple-registriesBooleantrueWhether to log warnings when multiple registries are created

Usages


See the manifest for all available types.

Copyright © 2018, 2026 Oracle and/or its affiliates.