io.opentracing.contrib:opentracing-aws-sdk

OpenTracing Instrumentation for AWS SDK

License

License

Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-aws-sdk
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

io.opentracing.contrib:opentracing-aws-sdk
OpenTracing Instrumentation for AWS SDK
Project URL

Project URL

https://github.com/opentracing-contrib/java-aws-sdk
Source Code Management

Source Code Management

http://github.com/opentracing-contrib/java-aws-sdk

Download opentracing-aws-sdk

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
io.opentracing : opentracing-util jar 0.33.0
com.amazonaws : aws-java-sdk jar 1.11.600

test (3)

Group / Artifact Type Version
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12
com.amazonaws » DynamoDBLocal jar 1.11.475

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.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.3-RC1
0.0.2
0.0.1