Skip to Content
자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
book

자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
141
3
장
관찰 가능성과 디버깅
3.1.4
어떤 텔레메트리 방식을 선택할까?
관찰 가능성의 형태와 용도를 파악하고 각각의 영역이 서로 어떻게 겹치는지 잘 판단해야 한
다. 자신의 시스템을 고려할 때 겹치는 영역은 어디이며 더욱 부각되는 영역은 어디인가?
추적과 로깅이 모두 디버깅 신호라면 굳이 둘 다 사용할 필요가 있을까 싶지만 둘은 엄연히 다
르다. 각각의 조회, 검색 여건이 동등하다면 태그와 메타데이터가 포함된 추적 신호가 로그보
다 우월하다. 또한 추적은 호출 체인을 연결하는 콘텍스트 정보를 제공하며 전파한다.
논리적으로, 추적은 메트릭 타이머가 존재하는 모든 위치에 탑재할 수 있다. 그러나 분산 추적
은 오로지 실행만 측정한다는 점을 유념하자. 실행 시간 측정 시 메트릭과 추적 도구는 서로를
보완하므로 둘 다 사용해도 좋다. 메트릭은 코드 조각의 모든 실행 결과를 집계해서 (호출 콘텍
스트는 제외 ) 보여주며, 분산 추적은 개별 실행 결과의 샘플 예시를 제공한다. 그러나 메트릭
은 여기에 더해 카운트와 게이지도 측정한다. 이 부분은 추적으로 완전히 대체할 수 없다.
구체적인 예시를 살펴보자. [예제
3
-
1
]은 일반적인 애플리케이션 로그에서 발췌한 도입부다.
로그 시작 부분은 컴포넌트 설정과 기능이 활성화되는 일회성 이벤트 정보를 보여준다. 이러한
정보는 ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

최길우, 빌 루바노빅

Publisher Resources

ISBN: 9791162245286