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

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 Neo4j Driver 4.x Instrumentation

OpenTracing instrumentation for Neo4j Driver 4.x.

Installation

pom.xml

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

Usage

// Instantiate tracer
Tracer tracer = ...

// Decorate Neo4j Driver with Tracing Driver
Driver driver = new TracingDriver(GraphDatabase.driver(...), tracer);

OGM

// Create BoltDriver from decorated neo4j driver:
Driver boltDriver = new BoltDriver(new TracingDriver(GraphDatabase.driver(...), tracer));

// Create Session Factory
SessionFactory sessionFactory = new SessionFactory(boltDriver);

License

Apache 2.0 License.

About

OpenTracing instrumentation for Neo4j Driver

Topics

Resources

License

Packages

No packages published