(텐서플로 서빙과 프로메테우스)를 나란히 실행합니다. 하지만 실제로는 좀 더 복잡한 설정을
통해 어플리케이션이 쿠버네티스에 배포될 것입니다.
Port 8501
Port 9090
텐서플로 서빙을 위한
도커 컨테이너
텐서플로 서빙 엔드포인트의
지표를 프로메테우스가 수집
프로메테우스를 위한
도커 컨테이너
예측 요청
도커 호스트 머신
프로메테우스 지표 요청
그림
9-4
프로메테우스 도커 설정
프로메테우스를 시작하기 전에 프로메테우스 구성 파일부터 만들어야 합니다.
/
tmp
/
prometheus
.
yml
에 구성 파일을 생성하고 다음 구성 세부 정보를 추가합니다.
global
:
scrape_interval
: 15s
evaluation_interval
: 15s
external_labels
:
monitor
: ‘tf-serving-monitor’
scrape_configs
:
-
job_name
: ‘prometheus’
# 지표를 가져오는 간격입니다.
scrape_interval
: 5s
# 텐서플로 서빙에서 엔드포인트를 ...
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.