전체 분산 추적은 개별 스팬의 집합이다. 스팬은 최종 사용자 요청을 만족시키는 각 접점의 성
능 정보를 담는다. 이러한 스팬 정보를 조합해 [그림
3
-
1
]처럼 ‘고드름
icicle
’ 그래프를 생성하면
서비스별 상대 소요 시간을 한눈에 파악할 수 있다.
그림
3-1
집킨 고드름 그래프
스팬은 메트릭처럼 이름과 키-값 태그 쌍을 함께 담는다.
2
.
6
절에서 설명한 많은 원칙이 분산
추적에 그대로 적용된다.
http
.
server
.
requests
추적 스팬은 클라우드 리전,
API
엔드포인
트,
HTTP
메서드, 응답 상태 코드 등을 태그 정보로 식별할 수 있다. 메트릭과 추적명을 일관
되게 유지하는 것이 텔레메트리의 상호 연관성을 유지하는 핵심 요소다. 더 자세한 설명은
3
.
6
절을 참고하기 바란다.
집킨 스팬 데이터 모델은 메트릭과 달리 서비스명을 나타내는 특수 항목을 포함한다. 이 항목
은 집킨 종속성을 나타내는 서비스 그래프에서 쓰인다. 메트릭 태그로 치면 애플리케이션명에
해당하지만, 대부분의 메트릭 백엔드는 이러한 개념을 구현한 예약 태그가 없다. 또한 집킨 데
이터 모델은 스팬명도 정의한다. 스팬명과 서비스명은 모두 인덱싱되고 조회에 사용되므로 카
디널리티가 적절히 유지되도록 값을 한정시켜야
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.