MetricsObserver (webserver.observe.metrics) Configuration

Type: io.helidon.webserver.observe.metrics.MetricsObserver

This is a standalone configuration type, prefix from configuration root: metrics

This type provides the following service implementations:

  • io.helidon.webserver.observe.spi.ObserveProvider

Configuration options

Optional configuration options
keytypedefault valuedescription
app-name

string

 

Value for the application tag to be added to each meter ID.

@return application tag value
app-tag-name

string

 

Name for the application tag to be added to each meter ID.

@return application tag name
enabled

boolean

true

Whether metrics functionality is enabled.

@return if metrics are configured to be enabled
endpoint

string

metrics
key-performance-indicators 

Key performance indicator metrics settings.

@return key performance indicator metrics settings
permit-all

boolean

 

Whether to allow anybody to access the endpoint.

@return whether to permit access to metrics endpoint to anybody, defaults to `true`
@see #roles()
rest-request-enabled

boolean

 

Whether automatic REST request metrics should be measured.

@return true/false
roles

string[]

 

Hints for role names the user is expected to be in.

@return list of hints
scoping 

Settings related to scoping management.

@return scoping settings
tags 

Global tags.

@return name/value pairs for global tags