Skip to Content
실용적인 모니터링
book

실용적인 모니터링

by Mike Julian
May 2025
Beginner to intermediate
170 pages
2h 15m
Korean
O'Reilly Media, Inc.
Content preview from 실용적인 모니터링

부록 A. 예제 런북: 데모 앱

여기 는 자신의 환경에서 사용할 수 있는 예제 런북( 3장에서 언급)입니다. 이것은 훌륭한 시작점이며, 이를 기반으로 시간이 지남에 따라 반복해서 작성하는 것이 좋습니다. 런북은 그 안에 있는 정보만큼만 유용하므로 다른 섹션이 필요하다면 언제든지 만들어 보세요!

데모 앱

Rails 데모 앱은 간단한 Rails 블로그 앱으로, 기본적인 Rails 앱의 모습을 보여줍니다. 주요 구성 요소는 데이터베이스 기반 사용자 관리 시스템과 게시물/댓글 시스템입니다.

메타데이터

코드베이스는 내부 소스 코드 시스템에서 demo-app 라는 이름으로 찾을 수 있습니다.

서비스 소유자는 신원 미상입니다.

에스컬레이션 절차

이 서비스 관련 문제를 해결하기 위해 도움이 필요한 경우 서비스 소유자가 다음 에스컬레이션 지점이 되어 달라고 요청했습니다. 연락처 안내는 회사 연락처 시트를 참조하세요.

외부 종속성

외부 종속성 없음

내부 종속성

rds-123.foo.com에 위치한 RDS 인스턴스에서 실행되는 PostgreSQL 데이터베이스입니다.

기술 스택

  • Rails 4.x

  • PostgreSQL(AWS RDS)

메트릭 및 로그

앱에서 다음 메트릭을 내보냅니다:

  • 사용자 로그인(개수)

  • 사용자 로그아웃(개수)

  • 게시물 작성(개수)

  • 게시물 삭제(개수)

  • 댓글 작성(개수)

  • 댓글 삭제(개수)

  • 글 작성 시간(타이머)

  • 게시물 삭제 시간(타이머)

  • 사용자 가입 시간(타이머)

  • 사용자 로그인 시간(타이머)

  • 사용자 로그아웃 시간(타이머)

앱은 다음 로그를 생성합니다:

  • 사용자 ID, 상태(성공/실패), IP 주소로 사용자 로그인

  • 사용자 ID, 상태(성공/실패), IP 주소로 글 작성하기

  • 사용자 ID, 상태(성공/실패), IP 주소로 댓글 작성하기

알림

사용자 로그인 실패율

이 알림은 사용자 로그인 실패율이 5분 동안 5%를 초과할 때 발생합니다. 잠재적인 원인으로는 잘못된 배포(최근 배포 확인) 또는 무차별 대입 공격(사용자 로그인 로그에서 공격 징후 확인)이 있습니다.

사용자 로그인 시간이 너무 높음

이 알림은 사용자가 로그인하는 데 걸리는 시간이 1초를 초과할 때 발생합니다. 최근 배포가 잘못되었거나 Postgres 성능에 문제가 있는지 확인하세요.

게시물 작성 시간이 너무 높음

이 알림은 사용자가 글을 작성하는 데 걸리는 시간이 1초를 초과할 때 발생합니다. 최근 잘못된 배포 또는 Postgres 성능 관련 문제가 있는지 확인합니다.

댓글 작성 시간이 너무 높음

이 알림은 사용자가 댓글을 작성하는 데 걸리는 시간이 1초를 초과할 때 발생합니다. 에서 최근 잘못된 배포 또는 Postgres 성능 문제를 확인하세요.

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

러닝 랭체인

러닝 랭체인

메이오 오신, 누노 캄포스
Go의 동시성

Go의 동시성

Katherine Cox-Buday
러닝 타입스크립트

러닝 타입스크립트

조시 골드버그
프로그래밍의 규칙

프로그래밍의 규칙

크리스 짐머만

Publisher Resources

ISBN: 9798341655188