Comments (10)
nice catch.
from spring-cloud-sleuth.
For now you can set spring.sleuth.schedule.enabled=false
.
from spring-cloud-sleuth.
@marcingrzejszczak what do you think? maybe a skip pattern like TraceFilter?
from spring-cloud-sleuth.
ok, so I added that flag on the command time as
java -jar target/customerservice.jar --spring.sleuth.schedule.enabled=false
On startup there is no continuous set of traces as before BUT ....
On the first call to one of the rest apis, it kicks off a barrage of these same sorts of hystrix messages. So something is still generating them
I also tried it out in the application.yml file as well but same thing.
from spring-cloud-sleuth.
Yeah, it's a good idea Spencer.
Actually we put the skip patterns to a separate class cause we already had another place where we needed to reuse them.
from spring-cloud-sleuth.
Ok I debugged throughout this to see what was happening. Ok so the flag you mentioned works and I can see that it is set and that the TraceSchedulingAspect is not invoked.
I put in a set of break points and saw that the Slf4jSpanListener was invoked. I glanced though the stack to see where it was called from. So I can see through the stack that the barrage of messages is invoked through the TraceChannelInterceptor which in turn is clued everytime a message goes out through the RabbitMQ bus (i.e. in this case the hystrix messages)
In our application, we are using RabbitMq (the turbine AMQP approach) to send the hystrix messages through to Turbine and this is why I guess this barrage of messages are present.
Any way I can filter them? It makes debugging through the logs really difficult.
from spring-cloud-sleuth.
spring.sleuth.integration.enabled=false
turns off tracing messaging.
from spring-cloud-sleuth.
Can we close this?
from spring-cloud-sleuth.
Hi, I am having a similar issue except mine is occuring with jsonLogSpanListener instead of sl4j. I have the same setup as the thread starter. Hystrix streams are being published to rabbitMQ, My console is being barraged with logs like this
o.s.c.sleuth.log.JsonLogSpanListener : [span]{"begin":1459107282024,"end":1459107282024,"name":"me
Never mind, this did the trick, at first i thought it didn't but it did
spring.sleuth.integration.enabled=false //turns off tracing messaging.
from spring-cloud-sleuth.
BTW @solidgains it seems that you're using some old version of the lib cause JsonLogSpanListener
is no longer there.
from spring-cloud-sleuth.
Related Issues (20)
- I want to propagate TraceId to all places where parallelStream() and CustomForkJoinPool is used. HOT 3
- CVE-2023-33201 - bcprov-jdk15on HOT 5
- Missing traceId when using spring-cloud-starter-stream-rabbit consumer listeners. HOT 5
- Tracing support for Reactive Kafka (Using KafkaSender and KafkaReceiver) HOT 2
- Spring boot 2.7.10/Sleuth/Micrometer/Prometheus/Brave/Zipkin HOT 1
- java.lang.IllegalStateException: Missing: traceId with AWS propagation type HOT 5
- Jetty BadMessageException request headers too large HOT 3
- LazyTraceThreadPoolTaskExecutor.getQueueSize() does not call a delegate and always returns 0 HOT 3
- ReactorSleuth.tracedMono does not work with parallel processing HOT 1
- TraceReactorAutoConfiguration.HooksRefresher improper queue decoration
- Need documentation for collecting data using baggage. HOT 1
- Sleuth giving different traceIds for each RxJava's Single execution HOT 3
- TraceIds feature for a Request tarvelling across, doesn't seem working. TraceIds are different across a travelling request HOT 3
- After @Async is included in rpc, traceId loss and confusion occur under a large number of requests. HOT 4
- Autoconfiguration does not work in spring-boot 3.x HOT 1
- docs: Getting Started Image Not found
- DataSource Proxy + Spring Could Sleuth not working HOT 4
- spring.zipkin.discoveryClientEnabled ignored when the traced app is webflux HOT 1
- sleuth-3.1.9+datasource-proxy-1.10+flowable-6.8.0 Unable to start the springboot project properly HOT 1
- Why doesn't Sleuth enable Scope when create Span for Kafka Streams by default? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-sleuth.