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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()end()booleanbooleanbooleanvoidsetDisableCoreProcessors(Boolean disableCoreProcessors) Disable any inner core processors (any core DSL processor provided in the route, for example `bean`, `log`, ...).voidsetEnabled(boolean enabled) To enable TelemetryDevvoidsetExcludePatterns(String excludePatterns) Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern.voidsetIncludePatterns(String includePatterns) Sets include pattern(s) that will explicitly enable tracing for Camel processors that matches the pattern.voidsetTraceFormat(String traceFormat) The output format for traces.voidsetTraceProcessors(boolean traceProcessors) Setting this to true will create new telemetry spans for each Camel custom Processors.withEnabled(boolean enabled) withExcludePatterns(String excludePatterns) withTraceFromat(String traceFormat) withTraceProcessors(boolean traceProcessors)
-
Constructor Details
-
TelemetryDevConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) To enable TelemetryDev -
getExcludePatterns
-
setExcludePatterns
Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma. -
getIncludePatterns
-
setIncludePatterns
Sets include pattern(s) that will explicitly enable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma. All processors included by default if nothing is specified. -
isTraceProcessors
public boolean isTraceProcessors() -
setTraceProcessors
public void setTraceProcessors(boolean traceProcessors) Setting this to true will create new telemetry spans for each Camel custom Processors. Use the excludePattern property to filter out Processors. -
isDisableCoreProcessors
public boolean isDisableCoreProcessors() -
setDisableCoreProcessors
Disable any inner core processors (any core DSL processor provided in the route, for example `bean`, `log`, ...). -
getTraceFormat
-
setTraceFormat
The output format for traces. -
withEnabled
-
withExcludePatterns
-
withTraceProcessors
-
withTraceFromat
-