Skip to content

Commit 0ad3f6d

Browse files
authored
Add JDBI 3 plugin (#1460)
Adds a plugin for JDBI 3 (https://jdbi.org/ ) that sends spans via Brave for all SQL commands run. Tag names are chosen to match the old P6Spy instrumentation from the 5.x series. Including both a Mocktio test and an integration test that uses H2. Not sure both are needed, as they test pretty much the same thing.
1 parent 144104d commit 0ad3f6d

File tree

51 files changed

+572
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+572
-45
lines changed

brave-bom/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-bom</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
<name>Brave BOM</name>
1414
<description>Bill Of Materials POM for all Brave artifacts</description>
1515
<packaging>pom</packaging>
@@ -162,6 +162,11 @@
162162
<artifactId>brave-instrumentation-jersey-server-jakarta</artifactId>
163163
<version>${project.version}</version>
164164
</dependency>
165+
<dependency>
166+
<groupId>${project.groupId}</groupId>
167+
<artifactId>brave-instrumentation-jdbi3</artifactId>
168+
<version>${project.version}</version>
169+
</dependency>
165170
<dependency>
166171
<groupId>${project.groupId}</groupId>
167172
<artifactId>brave-instrumentation-jms</artifactId>

brave-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414
<modelVersion>4.0.0</modelVersion>
1515

brave/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>brave</artifactId>

context/jfr/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-context-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414
<modelVersion>4.0.0</modelVersion>
1515

context/log4j12/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-context-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414
<modelVersion>4.0.0</modelVersion>
1515

context/log4j2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-context-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414
<modelVersion>4.0.0</modelVersion>
1515

context/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>io.zipkin.brave</groupId>
1313
<artifactId>brave-parent</artifactId>
14-
<version>6.2.1-SNAPSHOT</version>
14+
<version>6.3.0-SNAPSHOT</version>
1515
</parent>
1616

1717
<artifactId>brave-context-parent</artifactId>

context/slf4j/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-context-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414
<modelVersion>4.0.0</modelVersion>
1515

instrumentation/benchmarks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>io.zipkin.brave</groupId>
1111
<artifactId>brave-instrumentation-parent</artifactId>
12-
<version>6.2.1-SNAPSHOT</version>
12+
<version>6.3.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>brave-instrumentation-benchmarks</artifactId>

instrumentation/dubbo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>io.zipkin.brave</groupId>
1010
<artifactId>brave-instrumentation-parent</artifactId>
11-
<version>6.2.1-SNAPSHOT</version>
11+
<version>6.3.0-SNAPSHOT</version>
1212
</parent>
1313
<modelVersion>4.0.0</modelVersion>
1414

0 commit comments

Comments
 (0)