All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.contrib.awsxray.propagator.internal.AwsXrayLambdaComponentProvider Maven / Gradle / Ivy

There is a newer version: 1.45.0-alpha
Show newest version
/*
 * 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