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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
65
2
장
애플리케이션 메트릭
을 추가하거나 애플리케이션을 실행하는 프로그램 또는 컨테이너, 즉 톰캣
Tomcat
같은 도구에
의존성을 주입하면 된다.
2.7
미터 클래스
메트릭 수집기는 다양한 미터 클래스를 제공하며 각 클래스는 하나 이상의 메트릭이나 통계
를 발행한다. 게이지
guage
, 카운터
counter
, 타이머
timer
/요약
summary
등이 가장 대표적이다. 장기 작
업
long
task
타이머, 시간 게이지, 간격
interval
카운터 등 더 특수한 미터 클래스도 있다. 자신이 처
리할 작업에 사용할 클래스를 충분히 숙지하고 선택하기 바란다. 가령 타이머는 항상 횟수를
측정해 보고하지만 코드 블록의 실행 횟수를 셀 때 장점을 발휘한다. 단순 카운트 통계뿐만 아
니라 레이턴시 분포에 대한 정보를 더 풍부하게 얻을 수 있다.
내장 미터 타입 중 적절한 하나를 선택하는 요령은
2
.
13
절에서 설명한다.
2.8
게이지
게이지는 시간의 흐름에 따라 증가 또는 감소하는 값을 순간적으로 측정한 값이다. 단위 기간
동안 순간값을 측정해 샘플링하고 이를 지속적으로 좌표에 표시하면 게이지의 시계열 그래프
가 된다. 샘플링의 특성상 추출 시점에 따라 수치가 높아지거나 낮아질 가능성이 있다.
자동차의 속도계와 연료계는 전형적인 게이지다. 주행 시 속도계를 주기적으로 확인한다 (그래
야 한다 ). 순간적인 속도를 주기적으로 확인하기만 해도 충분히 속도를 제어할 수 있다. 속도
계에서 시선이 떠나는 순간 발생하는 속도의 변화를 놓치고 만다.
컬렉션
collection ...
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