Skip to content

Commit 21d3583

Browse files
author
elgris
committed
Adds Zipkin support to users-api
1 parent 8c993a6 commit 21d3583

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

users-api/pom.xml

+6-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@
4848
<dependency>
4949
<groupId>com.h2database</groupId>
5050
<artifactId>h2</artifactId>
51-
<!--<version>1.4.196</version>-->
52-
<!--<scope>test</scope>-->
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>org.springframework.cloud</groupId>
55+
<artifactId>spring-cloud-starter-zipkin</artifactId>
56+
<version>1.3.1.RELEASE</version>
5357
</dependency>
5458

5559
<dependency>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
jwt.secret=myfancysecret
2-
server.port=8083
2+
server.port=8083
3+
4+
spring.application.name=users-api
5+
spring.zipkin.baseUrl=http://127.0.0.1:9411/
6+
spring.sleuth.sampler.percentage=100.0

0 commit comments

Comments
 (0)