Package org.apache.camel.main
Class OtelConfigurationProperties
java.lang.Object
org.apache.camel.main.OtelConfigurationProperties
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.camel.spi.BootstrapCloseable
@Configurer(bootstrap=true)
public class OtelConfigurationProperties
extends Object
implements org.apache.camel.spi.BootstrapCloseable
Global configuration for OpenTelemetry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()end()booleanvoidsetEncoding(boolean encoding) Sets whether the header keys need to be encoded (connector specific) or not.voidsetExcludePatterns(String excludePatterns) Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern.voidsetInstrumentationName(String instrumentationName) A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name.withEncoding(boolean encoding) Sets whether the header keys need to be encoded (connector specific) or not.withExcludePatterns(String excludePatterns) Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern.withInstrumentationName(String instrumentationName) A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name.
-
Constructor Details
-
OtelConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getInstrumentationName
-
setInstrumentationName
A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null. -
isEncoding
public boolean isEncoding() -
setEncoding
public void setEncoding(boolean encoding) Sets whether the header keys need to be encoded (connector specific) or not. The value is a boolean. Dashes need for instances to be encoded for JMS property keys. -
getExcludePatterns
-
setExcludePatterns
Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma. -
withInstrumentationName
A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null. -
withEncoding
Sets whether the header keys need to be encoded (connector specific) or not. The value is a boolean. Dashes need for instances to be encoded for JMS property keys. -
withExcludePatterns
Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.
-