Skip to content

samuel-cruz/spring-sleuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Framework

Java Spring Boot Zipkin Gradle

About

Study about Spring Cloud Sleuth and Zipkin

  • No data will be persisted in a database, only in memory.

Building

  • You need clone this repository $ git clone git@github.com:samuel-cruz/spring-sleuth.git
  • Run zipkin from a docker $ docker run -itd --name trace -p 9411:9411 openzipkin/zipkin
  • Proxy server
    • $ cd proxy
    • $ gradle bootRun
  • Notification server
    • $ cd notification
    • $ gradle bootRun

Request

You can generate the requests using curl or Postman, as shown below.

  • curl --location --request POST 'http://localhost:8081/v1/do/notifications'
  • curl --location --request GET 'http://localhost:8081/v1/done/notifications'

or

post-request

get-request

Monitoring logs

  • Open Zipkin in your browser http://localhost:9411/zipkin
zipkin-home

zipkin-post

zipkin-get

Made with 🧡 by Samuel Cruz

About

Study about Spring Cloud Sleuth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages