This is a standalone configuration type, prefix from configuration root: metrics
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
string |
|
Value for the application tag to be added to each meter ID. |
|
string |
|
Name for the application tag to be added to each meter ID. |
|
BuiltInMeterNameFormat (SNAKE, CAMEL) |
|
Output format for built-in meter names. BuiltInMeterNameFormat.SNAKE selects "snake_case" which does not conform to the MicroProfile Metrics specification. Allowed values:
|
|
boolean |
|
Whether metrics functionality is enabled. |
|
GcTimeType (GAUGE, COUNTER) |
|
Deprecated Whether the Allowed values:
|
|
|
Key performance indicator metrics settings. |
|
|
boolean |
|
Whether to allow anybody to access the endpoint. See roles() |
|
boolean |
|
Deprecated Whether automatic REST request metrics should be measured (as indicated by the deprecated config
key @deprecated Use |
|
boolean |
|
Whether automatic REST request metrics should be measured. |
|
string[] |
|
Hints for role names the user is expected to be in. |
|
|
Settings related to scoping management. |
|
|
|
Global tags. |
|
|
TimeUnit (NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS) |
|
Default units for timer output in JSON if not specified on a given timer. If the configuration key is absent, the Helidon JSON output uses java.util.concurrent.TimeUnit.SECONDS. If the configuration key is present, Helidon formats each timer using that timer’s specific units (if set) and the config value otherwise. |
|
boolean |
|
Whether Helidon should expose meters related to virtual threads. |
|
Duration |
|
Threshold for sampling pinned virtual threads to include in the pinned threads meter. |