io.helidon.webserver.observe.metrics.AutoHttpMetricsConfig

Description

Automatic metrics collection settings

Configuration options

KeyTypeDefaultDescription
opt-inList<String>Elective attribute for which to opt in
pathsList<AutoHttpMetricsPathConfig>Automatic metrics collection settings
socketsList<String>Socket names for sockets to be instrumented with automatic metrics
enabledBooleantrueWhether automatic metrics collection as a whole is enabled
known-methodsList<String>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

KeyTypeDefaultDescription
use-updated-http-metricsBooleantrueRetained 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.

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