Class OpenTelemetryConfigurationProperties

java.lang.Object
io.micronaut.tracing.opentelemetry.conf.OpenTelemetryConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, OpenTelemetryConfiguration

@ConfigurationProperties("micronaut.otel") public class OpenTelemetryConfigurationProperties extends Object implements OpenTelemetryConfiguration
ConfigurationProperties implementation of OpenTelemetryConfiguration.
Since:
4.2.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • OpenTelemetryConfigurationProperties

      public OpenTelemetryConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets whether the OpenTelemetry integration is enabled. Default value (true).
      Parameters:
      enabled - True if is enabled