@ConfigurationProperties(value="micronaut.otel") public class OpenTelemetryConfigurationProperties extends java.lang.Object implements OpenTelemetryConfiguration
ConfigurationProperties implementation of OpenTelemetryConfiguration.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
OpenTelemetryConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether the OpenTelemetry integration is enabled.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public OpenTelemetryConfigurationProperties()
public boolean isEnabled()
isEnabled in interface io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
enabled - True if is enabled