OpenTracing Instrumentation for Hazelcast


License

License

Categories

Categories

Hazelcast Application Layer Libs Distributed Applications
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-hazelcast
Last Version

Last Version

0.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

OpenTracing Instrumentation for Hazelcast
OpenTracing Instrumentation for Hazelcast
Project URL

Project URL

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

Source Code Management

http://github.com/opentracing-contrib/java-hazelcast

Download opentracing-hazelcast

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
io.opentracing : opentracing-util jar 0.33.0

provided (1)

Group / Artifact Type Version
com.hazelcast : hazelcast jar 3.12.2

test (3)

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

Project Modules

There are no modules declared in this project.

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.

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.3
0.1.2
0.1.1
0.1.0
0.0.1