
io.opentelemetry.contrib.awsxray.propagator.internal.AwsXrayLambdaComponentProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-aws-xray-propagator Show documentation
Show all versions of opentelemetry-aws-xray-propagator Show documentation
OpenTelemetry AWS X-Ray Propagator
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.contrib.awsxray.propagator.internal;
import io.opentelemetry.context.propagation.TextMapPropagator;
import io.opentelemetry.contrib.awsxray.propagator.AwsXrayLambdaPropagator;
import io.opentelemetry.sdk.autoconfigure.spi.internal.ComponentProvider;
import io.opentelemetry.sdk.autoconfigure.spi.internal.StructuredConfigProperties;
public class AwsXrayLambdaComponentProvider implements ComponentProvider {
@Override
public Class getType() {
return TextMapPropagator.class;
}
@Override
public String getName() {
return "xray-lambda";
}
@Override
public TextMapPropagator create(StructuredConfigProperties config) {
return AwsXrayLambdaPropagator.getInstance();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy