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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
193
4
장
차트와 경고
프로메테우스는 [예제
4
-
10
]처럼
/
연산자가 비슷한 역할을 한다.
예제
4-10
프로메테우에서
HTTP
서버 요청의 에러 비중
sum(
rate(
http_server_requests_seconds_count{outcome="SERVER_ERROR", uri="$ENDPOINT"}
[2m]
)
) /
sum(
rate(
http_server_requests_seconds_count{uri="$ENDPOINT"}[2m]
)
)
NOTE
_
처리량이 낮은 서비스는 에러율이 에러 비중보다 유용하다
일반적으로 에러율보다 에러 비중을 우선적으로 모니터링한다. 에러에 따라 에러 비중이 상당히 큰 폭으로
변하기 때문에 엔드포인트 처리량이 매우 낮은 서비스는 예외다. 이때 임곗값은 에러율이 적합하다.
에러율과 에러 비중은 동일한 타이머를 다른 관점에서 바라본 지표다. 반면 레이턴시는 독립적
인 핵심 지표다.
4.7.2
레이턴시
최대 레이턴시 경고와 고백분위 비교 분석 기법은
5
.
8
절에서 자세히 설명한다. 대중적인 자바
웹 프레임워크는 대부분 메트릭 자동 설정 방식으로 ‘화이트박스(
2
.
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