Description

Metrics Observer configuration.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
app-nameVALUEString Value for the application tag to be added to each meter ID
app-tag-nameVALUEString Name for the application tag to be added to each meter ID
auto-http-metricsVALUEi.h.w.o.m.AutoHttpMetricsConfig Automatic metrics collection settings
built-in-meter-name-formatVALUEi.h.m.a.BuiltInMeterNameFormatCAMELOutput format for built-in meter names
enabledVALUEBooleantrueWhether metrics functionality is enabled
endpointVALUEStringmetricsN/A
key-performance-indicatorsVALUEi.h.m.a.KeyPerformanceIndicatorMetricsConfig Key performance indicator metrics settings
permit-allVALUEBooleantrueWhether to allow anybody to access the endpoint
publishersLISTi.h.m.a.MetricsPublisher Metrics publishers which make the metrics data available to external systems
publishers-discover-servicesVALUEBooleanfalseWhether to enable automatic service discovery for publishers
rest-request.enabledVALUEBooleanfalseWhether automatic REST request metrics should be measured
rolesLISTStringobserveHints for role names the user is expected to be in
scopingVALUEi.h.m.a.ScopingConfig Settings related to scoping management
tagsLISTi.h.m.a.MetricsConfigSupport Global tags
timers.json-units-defaultVALUETimeUnit Default units for timer output in JSON if not specified on a given timer
virtual-threads.enabledVALUEBooleanfalseWhether Helidon should expose meters related to virtual threads
virtual-threads.pinned.thresholdVALUEDurationPT0.020SThreshold for sampling pinned virtual threads to include in the pinned threads meter
warn-on-multiple-registriesVALUEBooleantrueWhether to log warnings when multiple registries are created

Deprecated Options

KeyKindTypeDefault ValueDescription
gc-time-typeVALUEi.h.m.a.GcTimeTypeCOUNTERWhether the gc.time meter should be registered as a gauge (vs
rest-request-enabledVALUEBoolean 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.