Interface TelemetryConfig
public interface TelemetryConfig
Configures telemetry in the WebSockets extension.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf collection of WebSocket metrics is enabled.booleanIf collection of WebSocket traces is enabled.
-
Method Details
-
tracesEnabled
@WithName("traces.enabled") @WithDefault("true") boolean tracesEnabled()If collection of WebSocket traces is enabled. Only applicable when the OpenTelemetry extension is present. -
metricsEnabled
@WithName("metrics.enabled") @WithDefault("false") boolean metricsEnabled()If collection of WebSocket metrics is enabled. Only applicable when the Micrometer extension is present.
-