TracingObserver (webserver.observe.tracing) Configuration

Type: io.helidon.webserver.observe.tracing.TracingObserver

This type provides the following service implementations:

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

Configuration options

Optional configuration options
keytypedefault valuedescription
env-config

TracingConfig

TracingConfig.ENABLED

Use the provided configuration as a default for any request.

@return default web server tracing configuration
path-configs

PathTracingConfig[]

new @java.util.ArrayList@(@java.util.List@.of(PathTracingConfig.builder() .path("/metrics/") .tracingConfig(TracingConfig.DISABLED) .build(), PathTracingConfig.builder() .path("/health/") .tracingConfig(TracingConfig.DISABLED) .build(), PathTracingConfig.builder() .path("/openapi/*") .tracingConfig(TracingConfig.DISABLED) .build()))

Path specific configuration of tracing.

@return configuration of tracing for specific paths
weight

double

900.0

Weight of the feature registered with WebServer. Changing weight may cause tracing to be executed at a different time (such as after security, or even after all routes). Please understand feature weights before changing this order.

@return weight of tracing feature