0

I am having below requirement for which is there any open source library will cover all of them.

1.We are building a distributed micro service architecture with Spring Boot.Which includes more than 100 micro services.
2.There is a lot if inter micro service communications possible to achieve single transaction.
3.We want to trace every micro service call and the trace should provide following information. 
 a.Transaction ID/Trace ID
 b. Back end transaction status-HTTP status for REST.Like wise for SOAP as well.
 c.Time taken for that call.
 d.Request and Response payload.
Currently we are achieving this using indigenous tracing frame work.Is there any open source project will handle all this without any coding from developer.I know we have few options with spring Boot Cloud Zipkin,Seluth etc does this handle above requirements. 
springbootlearner
  • 1,220
  • 4
  • 26
  • 48
  • I think you just need to evaluate the technologies you have available (Zipkin + Sleuth) and see if they fit your needs. – Strelok Nov 11 '16 at 00:58
  • 1
    Yeah, in case of any questions with Zipkin and Sleuth do not hesitate to ping me here or on Gitter https://gitter.im/spring-cloud/spring-cloud-sleuth – Marcin Grzejszczak Jan 18 '17 at 16:05

1 Answers1

1

My project has similar requirements to yours. IMHO, Spring-cloud-sleuth + Zipkin work well in my case.

For any inter microservices communication, we are using Kafka, and Spring-cloud-sleuth + zipkin has no problem to trace all the call, from REST -> Kafka -> More Kafka -> REST.

To enable Kafka Tracing, just simply add

spring:
  sleuth:
    propagation-keys: some-key
    sampler:
      probability: 1
    messaging:
      kafka:
        enabled: true

We are also using Azure ApplicationInsights to do centralized logging, which is well integrated with Spring Cloud.

Hope above give you some confidence of using Sleuth + Zipkin.

Charles C.
  • 184
  • 9