OpenTracing Instrumentation for AWS SDK 2


License

License

Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-aws-sdk-2
Last Version

Last Version

0.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

OpenTracing Instrumentation for AWS SDK 2
OpenTracing Instrumentation for AWS SDK 2

Download opentracing-aws-sdk-2

How to add to project

<!-- https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-aws-sdk-2/ -->
<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-aws-sdk-2</artifactId>
    <version>0.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-aws-sdk-2/
implementation 'io.opentracing.contrib:opentracing-aws-sdk-2:0.1.5'
// https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-aws-sdk-2/
implementation ("io.opentracing.contrib:opentracing-aws-sdk-2:0.1.5")
'io.opentracing.contrib:opentracing-aws-sdk-2:jar:0.1.5'
<dependency org="io.opentracing.contrib" name="opentracing-aws-sdk-2" rev="0.1.5">
  <artifact name="opentracing-aws-sdk-2" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.opentracing.contrib', module='opentracing-aws-sdk-2', version='0.1.5')
)
libraryDependencies += "io.opentracing.contrib" % "opentracing-aws-sdk-2" % "0.1.5"
[io.opentracing.contrib/opentracing-aws-sdk-2 "0.1.5"]

Dependencies

compile (1)

Group / Artifact Type Version
io.opentracing : opentracing-api jar 0.33.0

provided (1)

Group / Artifact Type Version
software.amazon.awssdk : sdk-core jar 2.10.18

test (5)

Group / Artifact Type Version
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12
org.assertj : assertj-core jar 3.14.0
com.amazonaws » DynamoDBLocal jar 1.11.475
software.amazon.awssdk : dynamodb jar 2.10.18

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Released Version Apache-2.0 license

OpenTracing AWS Client Instrumentation

OpenTracing instrumentation for AWS clients.

Installation

AWS SDK 1

pom.xml

<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-aws-sdk-1</artifactId>
    <version>VERSION</version>
</dependency>

AWS SDK 2

pom.xml

<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-aws-sdk-2</artifactId>
    <version>VERSION</version>
</dependency>

Usage

// Instantiate tracer
Tracer tracer = ...

AWS SDK 1

// Build AWS client with TracingRequestHandler e.g.
AmazonS3 s3Client = AmazonS3ClientBuilder.standard()
                .withRegion(Regions.US_WEST_2)
                .withRequestHandlers(new TracingRequestHandler(tracer))
                .build();

AWS SDK 2

// Build AWS client with TracingExecutionInterceptor e.g.
S3Client s3Client = S3Client.builder().overrideConfiguration(
        builder -> builder.addExecutionInterceptor(new TracingExecutionInterceptor(tracer)))
        .build();

License

Apache 2.0 License.

io.opentracing.contrib

3rd-Party OpenTracing API Contributions

3rd-party contributions that use OpenTracing. **The repositories in this org are *not* affiliated with the CNCF.**

Versions

Version
0.1.5
0.1.4
0.1.3
0.1.2