Package io.opentelemetry.contrib.awsxray
Class AttributePropagatingSpanProcessorBuilder
java.lang.Object
io.opentelemetry.contrib.awsxray.AttributePropagatingSpanProcessorBuilder
AttributePropagatingSpanProcessorBuilder is used to construct a
AttributePropagatingSpanProcessor. If setSpanNamePropagationKey(io.opentelemetry.api.common.AttributeKey<java.lang.String>) or setAttributesKeysToPropagate(java.util.List<io.opentelemetry.api.common.AttributeKey<java.lang.String>>) are not invoked, the builder defaults to using specific AwsAttributeKeys as propagation targets.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()setAttributesKeysToPropagate(List<io.opentelemetry.api.common.AttributeKey<String>> attributesKeysToPropagate) setSpanNamePropagationKey(io.opentelemetry.api.common.AttributeKey<String> spanNamePropagationKey)
-
Method Details
-
create
-
setSpanNamePropagationKey
@CanIgnoreReturnValue public AttributePropagatingSpanProcessorBuilder setSpanNamePropagationKey(io.opentelemetry.api.common.AttributeKey<String> spanNamePropagationKey) -
setAttributesKeysToPropagate
@CanIgnoreReturnValue public AttributePropagatingSpanProcessorBuilder setAttributesKeysToPropagate(List<io.opentelemetry.api.common.AttributeKey<String>> attributesKeysToPropagate) -
build
-