Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

OpenTracing Instrumentation for Memcached Client

Topics

Resources

License

Packages

No packages published