exportable always is false,can not send to zipkin
See original GitHub issuesleuth version: 2.0.0.RELEASE
zipkin-server version: 2.10.1
my config is:
spring:
zipkin:
sender.type: web
baseUrl: http://localhost:11112/
sleuth.sampler.percentage: 1.0
and service console log:
2018-07-12 20:22:38.720 INFO [org.ileler.gateway1,,,] 17270 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty : Flipping property: com.cncbox.service1.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2018-07-12 20:22:51.638 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] s.c.a.AnnotationConfigApplicationContext : Refreshing SpringClientFactory-com.cncbox.service2: startup date [Thu Jul 12 20:22:51 CST 2018]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3ec2ecea
2018-07-12 20:22:51.668 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-07-12 20:22:51.681 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.netflix.config.ChainedDynamicProperty : Flipping property: com.cncbox.service2.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2018-07-12 20:22:51.682 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.n.u.concurrent.ShutdownEnabledTimer : Shutdown hook installed for: NFLoadBalancer-PingTimer-com.cncbox.service2
2018-07-12 20:22:51.683 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.netflix.loadbalancer.BaseLoadBalancer : Client: com.cncbox.service2 instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=com.cncbox.service2,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2018-07-12 20:22:51.683 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.n.l.DynamicServerListLoadBalancer : Using serverListUpdater PollingServerListUpdater
2018-07-12 20:22:51.685 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.netflix.config.ChainedDynamicProperty : Flipping property: com.cncbox.service2.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2018-07-12 20:22:51.685 INFO [org.ileler.gateway1,89abd6100e09cb26,89abd6100e09cb26,false] 17270 --- [io-11000-exec-3] c.n.l.DynamicServerListLoadBalancer : DynamicServerListLoadBalancer for client com.cncbox.service2 initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=com.cncbox.service2,current list of Servers=[172.16.7.118:11002],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone; Instance count:1; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]
},Server stats: [[Server:172.16.7.118:11002; Zone:defaultZone; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 08:00:00 CST 1970; First connection made: Thu Jan 01 08:00:00 CST 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@66f76db5
2018-07-12 20:22:52.685 INFO [org.ileler.gateway1,,,] 17270 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty : Flipping property: com.cncbox.service2.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2018-07-12 20:27:27.863 INFO [org.ileler.gateway1,,,] 17270 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
How can I locate the problem? zipkin-server is run normal…
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Sleuth can't send traces to zipkin. Exportable always false
When i run my spring boot application locally i always have trace information with exportable information = true
Read more >3. Features - Spring Cloud
Adds trace and span ids to the Slf4J MDC, so you can extract all the logs from a given ... exportable - whether...
Read more >Tracing messages in Choreography with Sleuth and Zipkin
Tracing your logs in Choreography with Spring Cloud Sleuth and Zipkin. See how you can map the flow of messages and investigate errors ......
Read more >Spring Boot - Tracing Micro Service Logs - Tutorialspoint
Zipkin -export = By default it is false. If it is true, logs will be exported to the Zipkin server. Now, add the...
Read more >Why does Sleuth log a new Span when it isn't sending a ...
Like I tried to explain it to you a span doesn't have to always explain an ... This will allow collecting // the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you read this section of the documentation https://cloud.spring.io/spring-cloud-static/Finchley.RELEASE/multi/multi__features_2.html you’ll see that percentage changed to probability
I’m sorry but if you generate a project from start.spring.io and start a ZIpkin instance the way we show it e.g. here https://www.youtube.com/watch?v=6o9zPMiM6F0&list=PLAdzTan_eSPQsR_aqYBQxpYTEQZnjhTN6&t=0s&index=71 then it just works. Please ensure that zipkin is running, that all ports are visible etc.