관찰 가능성 신호는 신호가 지닌 가치에 따라 가용성에 기여하는 부류와 디버그 가능성을 높이
는 부류로 나뉜다. 잘 집계된 애플리케이션 메트릭은 가장 유용한 가용성 신호다. 분산 추적과
로그는 디버깅 가능성 신호에 해당한다. 이번 장은 후자에 대해 설명한다.
앞으로 설명할 분산 추적 기법은 메트릭과 추적을 상호 연관시키는 방식으로 접근하며 오직 오
픈 소스만 사용한다. 일부 상용 제품도 이와 비슷한 형태로 통합된 정보를 제공한다. 관찰 가능
성 스택을 제대로 구성하려면 최소한 여기서 보이는 수준의 정교함을 갖춰야 한다.
2
장과 마찬
가지로
3
장의 내용을 통해 기술적
기대치
의 기준을 수립하기 바란다.
마지막에 다룰 주제는 가상으로 실패를 주입하고 테스트하는 실패 추적이다. 분산 추적 도구는
마이크로서비스 계층에 걸쳐 콘텍스트를 전파하므로 시스템의 행동을 더 심도 있게 통제하는
도구로 사용할 수 있다.
3.1
관찰 가능성의 세 주축과 두 분류
『
Distributed
Systems
Observability
』(
O
’
Reilly
,
2018
)에 의하면 관찰 가능성은 로그, 분
산 추척, 메트릭을 주축으로 형성된다. 이 셋은 언제 어디에서 비롯됐는지 기원을 찾기 어려울
정도로 일반화된 분류 형태다.
관찰 가능성과 디버깅
CHAPTER
3
138
자바 ...
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.