Skip to content

Sample project for demonstrating an issue with Spring Cloud Sleuth and Spring Cloud Gateway with missing OpenTracing span.

Notifications You must be signed in to change notification settings

blake-bauman/test-spring-cloud-sleuth-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample project for demonstrating an issue with Spring Cloud Gateway logs missing Sleuth trace data.

  • To build: mvn clean verify
  • To run: mvn spring-boot:run
  • To test: curl http://localhost:8080/foo
  • Response will be an error, but the server's log messages for the request will be similar to: ... [traceId=] [spanId=] - ..."
  • If you revert to previous release of Spring/SpringCloud:
		<version.spring>5.2.9.RELEASE</version.spring>
		<version.spring.boot>2.3.4.RELEASE</version.spring.boot>
		<version.spring.cloud.release.train>Hoxton.SR8</version.spring.cloud.release.train>
		<version.reactor.release.train>Dysprosium-SR12</version.reactor.release.train>
  • Log messages for the request will be similar to: [traceId=157b5667cef9ead0] [spanId=157b5667cef9ead0] ..."

(Not a contribution)

About

Sample project for demonstrating an issue with Spring Cloud Sleuth and Spring Cloud Gateway with missing OpenTracing span.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages