dev-resources.site
for different kinds of informations.
Distributed Tracing
Published at
2/21/2023
Categories
spring
sleuth
zipkin
Author
eidher
Main Article
Spring Cloud Sleuth provides Spring Boot auto-configuration for distributed tracing.
https://spring.io/projects/spring-cloud-sleuth#overviewZipkin is a distributed tracing system.
https://zipkin.io
Dependencies
<dependency>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<groupId>org.springframework.cloud</groupId>
</dependency>
<dependency>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
<groupId>org.springframework.cloud</groupId>
</dependency>
<dependency>
<artifactId>spring-rabbit</artifactId>
<groupId>org.springframework.amqp</groupId>
</dependency>
Properties
spring.sleuth.sampler.probability=1.0
Now, if you have zipkin and rabbitmq running, you can call your service and see the traces in zipkin.
For more information see https://www.appsdeveloperblog.com/spring-cloud-sleuth-and-zipkin/
Articles
12 articles in total
Software Engineering at Google - Chapter 9: Code Review
read article
Software Engineering at Google - Chapter 8: Style Guides and Rules
read article
Software Engineering at Google - Chapter 7: Measuring Engineering Productivity
read article
Software Engineering at Google - Chapter 6: Leading at Scale
read article
Software Engineering at Google - Chapter 5: How to Lead a Team
read article
Software Engineering at Google - Chapter 4: Engineering for Equity
read article
Software Engineering at Google - Chapter 3: Knowledge sharing
read article
Software Engineering at Google - Chapter 2: How to work well on teams
read article
Software Engineering at Google - Chapter 1: What is Software Engineering?
read article
Kafka Connect: FileStreamSourceConnector in distributed mode
read article
Distributed Tracing
currently reading
Resilience4J Circuit Breakers
read article
Featured ones: