래프를 만들 수 있습니다. 그라파나의 내장 데이터 소스 플러그인 중 인기 있는 것으로 프로메
테우스(
https
://
prometheus
.
io
)가 있습니다.
5.5.1
메트릭 수집하기
클라우드 네이티브 컴퓨팅 재단
Cloud
Native
Computing
Foundation
(
CNCF
)의 프로젝트인 프로메테우스
는 서비스에서 메트릭을 수집하는 용도로 인기 있는 제품입니다. 프로메테우스는 컨테이너화
되어 있어서 쿠버네티스 플랫폼에 컨테이너로 빠르게 실행할 수 있습니다. 프로메테우스를 작
동하려면 수집한 메트릭을 저장하는 용도로 볼륨이 있어야 합니다. 그리고 수집 주기, 타임아
웃, 다른 규칙과 알림 등 같은 것을 정의하는 설정 파일을 만들어야 합니다. 물론, 서비스에 측
정 코드를 추가해야 하지만 프로메테우스가 하는 일은 없습니다.
대부분 인기 있는 언어와 관련된 클라이언트 라이브러리가 있고, 이런 라이브러리를 이용하면
HTTP
엔드포인트를 통해 메트릭을 노출하도록 정의할 수 있습니다. 프로메테우스는
HTTP
엔드포인트를 호출하고, 서비스는 추적한 메트릭을 프로메테우스에 보냅니다. 푸시 게이트웨
이도 지원합니다. 메트릭을 수집할 수 없는 구성 요소라면 프로메테우스가 ...
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.
O’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
I 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
I’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
I'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.