Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

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

Build Status Coverage Status Released Version Apache-2.0 license

OpenTracing Hazelcast Instrumentation

OpenTracing instrumentation for Hazelcast.

Requirements

  • Java 8+

Installation

pom.xml

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

Usage

// Instantiate tracer
Tracer tracer = ...

// Register tracer with GlobalTracer:
GlobalTracer.register(tracer);

// Decorate HazelcastInstance with Tracing HazelcastInstance:
HazelcastInstance hazelcast = new TracingHazelcastInstance(Hazelcast.newHazelcastInstance(config), 
                                                           false);

// Get Map: 
ConcurrentMap<String, String> map = hazelcast.getMap("distributed-map");
map.put("key", "value");

License

Apache 2.0 License.

About

OpenTracing Instrumentation for Hazelcast

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •