Package io.opentelemetry.contrib.awsxray
Class AwsMetricAttributesSpanExporterBuilder
java.lang.Object
io.opentelemetry.contrib.awsxray.AwsMetricAttributesSpanExporterBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create(io.opentelemetry.sdk.trace.export.SpanExporter delegate, io.opentelemetry.sdk.resources.Resource resource) setGenerator(MetricAttributeGenerator generator) Sets the generator used to generate attributes used spancs exported by the exporter.
-
Method Details
-
create
public static AwsMetricAttributesSpanExporterBuilder create(io.opentelemetry.sdk.trace.export.SpanExporter delegate, io.opentelemetry.sdk.resources.Resource resource) -
setGenerator
@CanIgnoreReturnValue public AwsMetricAttributesSpanExporterBuilder setGenerator(MetricAttributeGenerator generator) Sets the generator used to generate attributes used spancs exported by the exporter. If unset, defaults toDEFAULT_GENERATOR. Must not be null. -
build
-