io.opentracing.contrib:opentracing-spymemcached

OpenTracing Instrumentation for Memcached Client

License

License

GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-spymemcached
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

OpenTracing Instrumentation for Memcached Client

Download opentracing-spymemcached

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
net.spy : spymemcached jar 2.12.3
io.opentracing : opentracing-util jar 0.33.0
io.opentracing : opentracing-noop jar 0.33.0

test (3)

Group / Artifact Type Version
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12
org.awaitility : awaitility jar 3.1.6

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Released Version Apache-2.0 license

OpenTracing Memcached Client Instrumentation

OpenTracing instrumentation for Memcached Client.

Installation

Spymemcached

pom.xml

<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-spymemcached</artifactId>
    <version>VERSION</version>
</dependency>

Usage

// Instantiate tracer
Tracer tracer = ...

// Optionally register tracer with GlobalTracer
GlobalTracer.register(tracer);

Spymemcached

// Create Tracing Memcached Client
MemcachedClient client = new TracingMemcachedClient(tracer, false,
        new InetSocketAddress("localhost", 11211))

// Set an object in the cache
client.set("key", 0, "value")

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.3
0.0.2
0.0.1