Class TelemetryDevConfigurationProperties

java.lang.Object
org.apache.camel.main.TelemetryDevConfigurationProperties
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.camel.spi.BootstrapCloseable

@Configurer(extended=true) public class TelemetryDevConfigurationProperties extends Object implements org.apache.camel.spi.BootstrapCloseable
Global configuration for TelemetryDev component
  • Constructor Details

  • Method Details

    • end

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
      To enable TelemetryDev
    • getExcludePatterns

      public String getExcludePatterns()
    • setExcludePatterns

      public void setExcludePatterns(String excludePatterns)
      Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.
    • isTraceProcessors

      public boolean isTraceProcessors()
    • setTraceProcessors

      public void setTraceProcessors(boolean traceProcessors)
      Setting this to true will create new TelemetrySimple Spans for each Camel Processors. Use the excludePattern property to filter out Processors.
    • getTraceFormat

      public String getTraceFormat()
    • setTraceFormat

      public void setTraceFormat(String traceFormat)
      The output format for traces.
    • withEnabled

      public TelemetryDevConfigurationProperties withEnabled(boolean enabled)
    • withExcludePatterns

      public TelemetryDevConfigurationProperties withExcludePatterns(String excludePatterns)
    • withTraceProcessors

      public TelemetryDevConfigurationProperties withTraceProcessors(boolean traceProcessors)
    • withTraceFromat

      public TelemetryDevConfigurationProperties withTraceFromat(String traceFormat)