spring-cloud-sleuth Questions

2

Solved

We have Jaeger setup to trace calls primarily between the istio proxies. I'm trying to use tracing inside the application, include any traceId/spanIds in the logs and report back to the Jaeger coll...

3

Solved

I have web application based on Spring Boot and it uses logback for logging. I also inherit some logback defaults from spring boot using: <include resource="org/springframework/boot/logging...
Violoncellist asked 22/1, 2021 at 14:17

3

Solved

I am using Sleuth and Zipkin for distributed tracing and facing an issue. Issue: TraceID and SpanID is not getting printed in the microservice logs (and passed to Zipkin) with 3.0.0 version of Spri...

2

We are setting up microservice framework. We use following stack for distributed tracing. Spring boot Kafka Zipkin Following is how the configuration is done In gradle.build (or pom.xml) foll...

1

I have below code which handle requests from other apps which pass the traceId through Traceparent header. I expect it will hydrate the parent traceId from the request, and in zipkin dashboard I sh...

2

Solved

With the exciting releases of both SpringBoot 3.0.0-M1 and SpringCloud 2022.0.0-M1, I went ahead to bump the versions up. https://spring.io/blog/2022/01/20/spring-boot-3-0-0-m1-is-now-available htt...
Dewan asked 3/2, 2022 at 3:9

0

Is it possible of providing the Tracers and Spans of Spring Cloud Sleuth (for a Webflux project) to Elastic APM? I've seen a discussion of the issue here in the context of Spring Webflux. And here ...

1

Adding just spring-cloud-starter-zipkin also able to generate spanId and TraceId so what is the need of Sleuth? spring-cloud-starter-zipkin actually pulling io.zipkin.brave by itself not Sleuth.
Schifra asked 25/8, 2021 at 17:39

3

Solved

I am using Sleuth and I am wondering is it possible to get the current traceId? I dont need to add it any responses or anything. I just want the traceId for emails alerting the development team in ...
Stationery asked 9/8, 2019 at 9:26

1

Solved

I'm making a sequential request using Feign Builder. There are no x-b3-traceid,x-b3-spanid .. in the title of the request. That's why the log my last client appears on the zipkin. I use spring boot...
Cheryl asked 12/2, 2021 at 7:36

7

Solved

I am currently implementing Spring Cloud Sleuth in our project. I have a requirement to add the traceId to the response headers. Is there a way that this can be achieved? Thanks, Anoop
Griffon asked 19/12, 2016 at 12:16

4

Solved

I'd like to know how Spring Cloud Sleuth propagates the MDC context between threads making the MDC params available each of them. I've read this article https://simonbasle.github.io/2018/02/contex...

3

Some of my microservices use log4j2 as logger. Spring cloud Sleuth has support for logback. How can I use Sleuth to get distributed tracing in this scenario. I understand to use sleuth with log4j2,...
Gurolinick asked 13/2, 2018 at 19:34

2

Solved

I have an existing Spring boot (2.2.0) application and trying to integrate Spring cloud sleuth to get automatic trace and span id. The logback file is as follows - <configuration> <prope...
Lied asked 24/4, 2020 at 14:46

1

I am looking to develop a gateway server based on spring-cloud-gateway:2.0.2-RELEASE and would like to utilize sleuth for logging purposes. I have sleuth running since when I write to the log I see...
Harmonious asked 26/10, 2018 at 16:38

3

Solved

Sleuth is not sending the trace information to Zipkin, even though Zipkin is running fine. I am using Spring 1.5.8.RELEASE, spring cloud Dalston.SR4 and I have added the below dependencies in my mi...
Cleavable asked 6/12, 2017 at 9:31

1

Solved

I have added sleuth dependencies to my Spring boot project. Though the dependencies are present, no trace information is seen in logs. There are no compile or run time errors. <?xml version="1...
Peacock asked 8/1, 2019 at 17:26

2

Solved

Is there a way to use Spring Cloud Sleuth with OpenTracing? I want to connect Spring clients with Jaeger
Whistle asked 24/5, 2017 at 18:58

0

I need to customize the way spring sleuth generates the trace id value: in my case the client sends a correlation id using a query param and I would like to use that value as trace id. Is that pos...
Taxis asked 8/10, 2018 at 10:57

1

When I start up the my spring boot application via intellij, the following class initialised properly and the log can be seen. but if I run agains the jar from the build, MyCurrentTraceContext seem...
Cryptology asked 23/8, 2018 at 22:51

2

Solved

I'm trying to integrate Sleuth into our system. If I use interfaces annotated with @FeignClient, everything works fine. These interfaces get instrumented automatically, and Sleuth headers get propa...

2

Solved

I have a Spring Boot 2.0.0 REST service where I'm trying to enable Sleuth and Zipkin to send traces to my localhost Zipkin server. The app worked fine unti I add the two dependencies spring-cloud-...
Sylph asked 10/3, 2018 at 17:11

2

I have a Spring Boot app that I'm updating to 1.5.1. It works great, until I add Sleuth and Zipkin to classpath <dependency> <groupId>org.springframework.cloud</groupId> <ar...
Astronomical asked 22/2, 2017 at 21:42

0

I am trying to trace Spring cloud integration aws + AWS SQS app with Sleuth. The receiver receives message from SQS after a message is added to queue. The log has app name, but no trace id and span...
Natashianatassia asked 29/7, 2017 at 0:19

1

Solved

I try to add a distributed tracing in my microservices (under Kubernetes in Azure). I added the dependencies in the parent pom.xml : <parent> <groupId>org.springframework.boot</gr...
Gonnella asked 5/4, 2017 at 12:1

© 2022 - 2024 — McMap. All rights reserved.