1. Zipkin Server
OpenZipkin · A distributed tracing system
Zipkin Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in service architectures. Features include both the collection and lookup of this data. If you have a trace ID in a log file, you can jump di
zipkin.io
Twitter 에서 사용하는 분산환경 트레이싱(서비스의 시작과 경로를 추적할 수 있다)
Span: 하나의 요청에 사용되는 작업단위 (64bits unique ID)
Trace: Tree 구조의 Span set(추적성 확보)
2. Spring Cloud Sleuth
스프링부트와 Zipkin과 연동
3. Zipkin 다운로드 및 설치
4. Zipkin 실행
5. Zipkin 접속 : http://127.0.0.1:9411/zipkin/
'MSA' 카테고리의 다른 글
40. 모니터링을 위한 Micrometer (0) | 2022.12.15 |
---|---|
39. Spring Cloud Sleuth와 Zipkin을 이용한 서비스 분산추적 적용 (0) | 2022.12.15 |
37. 연쇄 장애 회피를 위한 CircuitBreaker (0) | 2022.12.14 |
36. micro service에 외부 RDB사용 및 Kafka Producer 만들기 (0) | 2022.12.13 |
35. micro service에 Kafka 적용 #3 (Test) (0) | 2022.12.13 |