jdbc


License

License

GroupId

GroupId

com.lucidchart
ArtifactId

ArtifactId

opentracing-jdbc
Last Version

Last Version

0.4
Release Date

Release Date

Type

Type

jar
Description

Description

jdbc
jdbc
Project Organization

Project Organization

OpenTracing
Source Code Management

Source Code Management

https://github.com/lucidsoftware/opentracing-jdbc

Download opentracing-jdbc

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
com.lucidchart : opentracing-thread-context jar 0.5
io.opentracing : opentracing-api jar 0.31.0
io.opentracing : opentracing-util jar 0.31.0
p6spy : p6spy jar 3.0.0

Project Modules

There are no modules declared in this project.

OpenTracing for JDBC

Build Status Maven Version

Install

Published as the com.lucidchart:opentracing-jdbc artifact.

Example

import io.opentracing.contrib.jdbc.*;
import java.net.InetAddress;
import java.nio.ByteBuffer;

// optionally include peer info
JdbcPeer peer = new JdbcPeer();
peer.name = "my_db";
peer.ipv4 = ByteBuffer.wrap(InetAddress.getByName("127.0.0.1").getAddress()).getInt();
peer.port = 3306;

// create a SpanConnectionWrapper
SpanConnectionWrapper wrapper = SpanConnectionWrapper.createDefault(peer);

// wrap Connections
Connection rawConnection = ...
Connection tracedConnection = wrapper.wrap(rawConnection)
com.lucidchart

Lucid Software, Inc

Versions

Version
0.4
0.3
0.2
0.1