io.opentracing.contrib:opentracing-aws-sdk-parent

OpenTracing Instrumentation for AWS SDK

License

License

Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-aws-sdk-parent
Last Version

Last Version

0.1.5
Release Date

Release Date

Type

Type

pom
Description

Description

io.opentracing.contrib:opentracing-aws-sdk-parent
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-parent

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • opentracing-aws-sdk-1
  • opentracing-aws-sdk-2

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