-
Notifications
You must be signed in to change notification settings - Fork 138
/
Copy pathpom.xml
70 lines (62 loc) · 2.2 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.zipkin.brave.example</groupId>
<artifactId>brave-example-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../parent-pom.xml</relativePath>
</parent>
<artifactId>brave-example-armeria</artifactId>
<packaging>jar</packaging>
<name>brave-example-armeria</name>
<description>Tracing Example: Armeria/ Java 21</description>
<properties>
<jre.version>21</jre.version>
<maven.compiler.release>8</maven.compiler.release>
<armeria.version>1.28.4</armeria.version>
</properties>
<dependencies>
<dependency>
<groupId>com.linecorp.armeria</groupId>
<artifactId>armeria</artifactId>
</dependency>
<!-- Instruments the underlying Armeria requests -->
<dependency>
<groupId>com.linecorp.armeria</groupId>
<artifactId>armeria-brave6</artifactId>
</dependency>
<!-- Optionally look up Zipkin with Eureka -->
<dependency>
<groupId>com.linecorp.armeria</groupId>
<artifactId>armeria-eureka</artifactId>
</dependency>
<!-- Integrates so you can use log patterns like %X{traceId}/%X{spanId} -->
<dependency>
<groupId>com.linecorp.armeria</groupId>
<artifactId>armeria-logback</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-context-slf4j</artifactId>
</dependency>
<!-- The below are needed to report traces to http://127.0.0.1:9411/api/v2/spans -->
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.linecorp.armeria</groupId>
<artifactId>armeria-bom</artifactId>
<version>${armeria.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>