Skip to content

Commit ba3075a

Browse files
committed
Tracing: added OpenTelemetry implementation
Added TracingInfo and TracingInfoFactory implementations in separate driver-opentelemetry module.
1 parent f9c9f6a commit ba3075a

File tree

4 files changed

+470
-0
lines changed

4 files changed

+470
-0
lines changed

driver-opentelemetry/pom.xml

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
<!--
2+
3+
Copyright DataStax, Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
-->
18+
<!--
19+
Copyright (C) 2021 ScyllaDB
20+
Modified by ScyllaDB
21+
-->
22+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23+
24+
<modelVersion>4.0.0</modelVersion>
25+
26+
<parent>
27+
<groupId>com.scylladb</groupId>
28+
<artifactId>scylla-driver-parent</artifactId>
29+
<version>3.11.2.1-SNAPSHOT</version>
30+
</parent>
31+
32+
<artifactId>scylla-driver-opentelemetry</artifactId>
33+
<name>Java Driver for Scylla and Apache Cassandra - OpenTelemetry integration</name>
34+
<description>An extension of Java Driver for Scylla and Apache Cassandra by adding
35+
functionality of creating traces and spans in OpenTelemetry format.
36+
</description>
37+
38+
<dependencyManagement>
39+
40+
<dependencies>
41+
42+
<dependency>
43+
<groupId>io.opentelemetry</groupId>
44+
<artifactId>opentelemetry-bom</artifactId>
45+
<version>1.9.1</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
50+
</dependencies>
51+
52+
</dependencyManagement>
53+
54+
<dependencies>
55+
56+
<!-- driver dependencies -->
57+
58+
<dependency>
59+
<groupId>com.scylladb</groupId>
60+
<artifactId>scylla-driver-core</artifactId>
61+
</dependency>
62+
63+
<!-- OpenTelemetry -->
64+
65+
<dependency>
66+
<groupId>io.opentelemetry</groupId>
67+
<artifactId>opentelemetry-api</artifactId>
68+
<version>1.9.1</version>
69+
</dependency>
70+
71+
<!-- tests -->
72+
73+
<dependency>
74+
<groupId>com.scylladb</groupId>
75+
<artifactId>scylla-driver-core</artifactId>
76+
<type>test-jar</type>
77+
<scope>test</scope>
78+
</dependency>
79+
80+
<dependency>
81+
<groupId>io.opentelemetry</groupId>
82+
<artifactId>opentelemetry-sdk</artifactId>
83+
<scope>test</scope>
84+
</dependency>
85+
86+
<dependency>
87+
<groupId>org.apache.commons</groupId>
88+
<artifactId>commons-exec</artifactId>
89+
<scope>test</scope>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>org.testng</groupId>
94+
<artifactId>testng</artifactId>
95+
<scope>test</scope>
96+
</dependency>
97+
98+
<dependency>
99+
<groupId>org.slf4j</groupId>
100+
<artifactId>slf4j-log4j12</artifactId>
101+
<scope>test</scope>
102+
</dependency>
103+
104+
</dependencies>
105+
106+
<build>
107+
<plugins>
108+
109+
<plugin>
110+
<artifactId>maven-compiler-plugin</artifactId>
111+
<configuration>
112+
<source>1.8</source>
113+
<target>1.8</target>
114+
</configuration>
115+
</plugin>
116+
117+
<!-- Disable check-jdk6 check for this submodule. -->
118+
<plugin>
119+
<groupId>org.codehaus.mojo</groupId>
120+
<artifactId>animal-sniffer-maven-plugin</artifactId>
121+
<version>1.15</version>
122+
<executions>
123+
<execution>
124+
<id>check-jdk6</id>
125+
<phase>process-classes</phase>
126+
<goals>
127+
<goal>check</goal>
128+
</goals>
129+
<configuration>
130+
<skip>true</skip>
131+
</configuration>
132+
</execution>
133+
<execution>
134+
<id>check-jdk8</id>
135+
<goals>
136+
<goal>check</goal>
137+
</goals>
138+
<configuration>
139+
<skip>true</skip>
140+
</configuration>
141+
</execution>
142+
</executions>
143+
</plugin>
144+
145+
</plugins>
146+
147+
</build>
148+
149+
</project>

0 commit comments

Comments
 (0)