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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
52
자바 마이크로서비스를 활용한
SRE
층형 수집기를 이미 사용하고 있다면 메트릭명 체계를 완전히 정돈할 것을 권한다. 태그를 나
열하고 조합하는 방식으로 명명 체계를 확립하면 차원형 메트릭명을 계층형으로 평면화할 수
있다. 단, 반대 방향으로 일반화하기는 어렵다. 계층형 시스템의 명명 스키마는 일관성을 보장
할 수 없기에 차원형 메트릭에 맞게 완벽히 분할하기 쉽지 않다.
지금부터는 차원형 메트릭 측정을 중점적으로 설명하겠다.
2.4
마이크로미터의 미터 레지스트리
이번 장의 남은 부분은 마이크로미터 (
https
://
micrometer
.
io
) 사용법을 설명한다. 마이크로
미터는 자바로 제작된 차원형 메트릭 측정 라이브러리며 시중의 유명 모니터링 시스템을 대부
분 지원한다. 추가 선택지는 다음 두 가지 정도다.
모니터링 시스템 업체가 제공하는 자바
API
클라이언트
애플리케이션 수준에서 화이트박스 측정이 가능하지만 자바 생태계와 상생할 여지는 없다. 특
히 서드 파티 오픈 소스 라이브러리는 메트릭 수집 용도로 특정 업체의 클라이언트를 채택하지
않는 편이다. 그나마 일부 오픈 소스 라이브러리가 국지적으로 프로메테우스
Prometheus
클라이언
트를 채택하는 정도가 한계다.
오픈텔레메트리
오픈텔레메트리
OpenTelemetry
(
https
://
oreil
.
ly
/
xV0Aa
)는 메트릭과 추적 기능이 혼합된 라이
브러리며 자바용 버전은
2021
년
2
월에
1
.
0
버전으로 릴리스되었다. 메트릭보다 추적 기능에
더 중점을 둔 프로젝트인 관계로 메트릭은 기본적인
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