Class LoggingConfig
java.lang.Object
io.opentelemetry.instrumentation.api.incubator.config.internal.LoggingConfig
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionresolveStructuredAttributes(io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.incubator.config.DeclarativeConfigProperties sourceConfig, String instrumentationName, String selectorName) Resolves the common structured logging attribute selector, retaining the source-specific selector as a fallback until 3.0.resolveStructuredAttributes(io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.incubator.config.DeclarativeConfigProperties sourceConfig, String instrumentationName, String selectorName, String deprecatedSelectorName) Resolves the common structured logging attribute selector when the deprecated capture setting has a different name from the source-specific selector.
-
Method Details
-
resolveStructuredAttributes
@Nullable public static Predicate<String> resolveStructuredAttributes(io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.incubator.config.DeclarativeConfigProperties sourceConfig, String instrumentationName, String selectorName) Resolves the common structured logging attribute selector, retaining the source-specific selector as a fallback until 3.0. -
resolveStructuredAttributes
@Nullable public static Predicate<String> resolveStructuredAttributes(io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.incubator.config.DeclarativeConfigProperties sourceConfig, String instrumentationName, String selectorName, String deprecatedSelectorName) Resolves the common structured logging attribute selector when the deprecated capture setting has a different name from the source-specific selector.
-