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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
62
자바 마이크로서비스를 활용한
SRE
2.6.1
공통 태그
저수준 라이브러리가 공통 요소를 측정할 때 (
2
.
20
절 참고 ) 이들은 측정 결과를 수집하는 애플
리케이션이 어느 위치와 환경에서 실행되는지 알 수 없다. 사설 데이터센터에서 운영되는, 좀
처럼 이름이 바뀌지 않는 소규모
VM
에서 실행되고 있는지, 서비스형 인프라스트럭처
infrastructure
as
a
service
(
IaaS
), 혹은 클라우드 서비스 자원에 올라가 있는지, 아니면 쿠버네티스인지 가늠할
수 없다. 사실상 모든 경우에 메트릭을 제공하는 애플리케이션은 한 개 이상의 복사본으로 실
행된다. 프로덕션 복사본이 단 하나라 해도 저수준 테스트 환경에 복사본이 하나쯤 있기 마련
이다. 이렇게 다양한 애플리케이션 인스턴스의 메트릭 데이터는 차원을 지정해 걸러내면 활용
성이 한층 높아진다. 이를 기반으로 특정 인스턴스에 조치를 취할 수도 있다.
정확히 이런 역할을 미터 필터가 한다. 미터 필터로 공통 태그를 추가하는 방법은
2
.
17
절에 자
세히 나온다. 미터 필터로 추가된 공통 태그는 애플리케이션에서 게시하는 모든 메트릭에 반영
된다. 메트릭 데이터의 실용성을 높일 공통 태그를 직접 골라보자. 다음 공통 태그들은 항상 유
용하다.
애플리케이션 이름
HTTP
요청처럼 프레임워크가 측정하는 메트릭은 애플리리케이션이 달라도 대체로 이름은 같
다. 가령
http
.
server
.
requests
는 애플리케이션의
HTTP
엔드포인트를,
http
.
client
.
requests
는 다른 서비스를 향한 ...
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