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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
56
자바 마이크로서비스를 활용한
SRE
2.5
미터 생성
마이크로미터가 지원하는
Meter
타입들은 각각 두 가지 방식으로 메트릭을 등록할 수 있다.
어느 쪽을 선택할지는 메트릭 설정 조건이 얼마나 상세한가에 달려있다. [예제
2
-
4
]는 플루언
트 빌더 사용 예시로 다양한 조건을 설정한다. 일반적으로 코어 라이브러리는 플루언트 빌더로
작성한다. 다른 라이브러리보다 더 충실한 설명과 상세한 기본 단위 정보를 사용자에게 제공해
야 하기 때문이다. 소수 엔지니어가 운영하는 마이크로서비스는 상세함을 다소 포기하더라도
간결한 코드를 유지하는 편이 낫다. 일부 모니터링 시스템은 메트릭에 포함된 설명문과 기본
단위 정보도 수집하는데, 마이크로미터는 이러한 데이터도 알맞게 게시한다. 메트릭의 기본 단
위 정보는 차트를 그릴 때 활용하기 좋다. 특히 사용자가 보기 편하도록 차트의
y
축을 자동으
로 조절하고 라벨을 표시할 때 유용하다. 기본 단위가 ‘
byte
’인 메트릭은 수치가 커질수록 메가
바이트 또는 기가바이트로 표기하는 게 알아보기 쉽다. 세련된 모니터링 시스템은 메트릭 데이
터의 범위를 자동으로 인식하고
y
축을 조절해 최대한 가독성을 높인다. ‘
2147483648
바이트’
보다 ‘
2GB
’가 눈에 더 잘 들어오는 법이다. 모니터링 시스템이 기본 단위 정보를 지원하지 않
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