Skip to content

Commit

Permalink
added Jaeger do compose setup and datasource instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xpinjection committed Sep 29, 2023
1 parent 8d92de4 commit cde0112
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
16 changes: 15 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,18 @@ services:
ports:
- "5432:5432"
labels:
org.springframework.boot.ignore: true
org.springframework.boot.ignore: true

jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "14250:14250"
- "9411:9411"
environment:
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<groupId>net.ttddyy.observation</groupId>
<artifactId>datasource-micrometer-spring-boot</artifactId>
<version>1.0.2</version>
</dependency>
<!--<dependency>
<groupId>io.opentelemetry</groupId>
Expand Down

0 comments on commit cde0112

Please sign in to comment.