MetricsSupport (metrics.serviceapi) Configuration

Type: io.helidon.metrics.serviceapi.MetricsSupport

Configuration Options

Optional configuration options
keytypedefault valuedescription
appName

string

 

Sets the value for the _app tag to be applied to all metrics.

base 

Set the base metrics settings.

cors 

Sets the cross-origin config builder for use in establishing CORS support for the service endpoints.

enabled

boolean

 

Sets whether metrics should be enabled.

key-performance-indicators 

Set the KPI metrics settings.

registries 

Sets the registry settings for the specified registry type.

routing

string

 

Sets the routing name to use for setting up the service’s endpoint.

tags

Map<string, string>

 

Sets the global tags to be applied to all metrics.

web-context

string

 

Sets the web context to use for the service’s endpoint.