본문 바로가기

반응형

Monitoring/PMM

(3)
How to Customize PMM Alerts | PMM 알람 발송 커스터마이징 방법 I spent quite a bit of time customizing the alert feature. I'm sharing this post in the hope that you won’t have to waste your time like I did.    Alerting > Contact Poinsts > Contact Points > Optional Slack settings > Title {{ template "slack.slack_title" . }}   Alerting > Contact Poinsts > Contact Points > Optional Slack settings > Text Body{{ template "slack.slack_message" . }}   Alerting > C..
podman container storage(graphroot) 변경하는 방법 PMM(Percona Monitoring and Management )을 띄워서 운영하던 중.. 루트 디렉토리(/) 가 점점 차는것을 발견했다.확인해보니,, 제공받은 OS 버전이 8버전 이상이여서 DOCKER가 아니라 PODMAN으로 컨테이너를 띄우다 보니(경험이 없었다..), container storage를 커스터마이징 못했고,, 이로 인해서 /var/lib이란 경로에 계속 데이터가 쌓이고 있었던 것..! 그래서 container storage를 다른경로로 변경할 방법을 찾아보니 국내에는 자료가 많지 않아 추후 동일이슈 해결을 위해 정리했다. (podman 자체를 많이 사용하지 않는 듯 하다..)  우선 container storage를 다른경로로 변경할 방법을 찾아보니 아래와 같았다.  podman..
MySQL/Postgre/RDS 오픈소스 모니터링 툴 PMM(Percona Monitoring and Management) 구축 PMMPercona에서 제공하는 프로메테우스+그라파나 기반의 오픈소스 DB 모니터링 툴 지원 DB MySQL, MongoDB, PostgreSQL, Amazon RDS, Microsoft Azure, …오픈소스 DB 모니터링 지원  아래와 같은 로직으로 PMM-SERVER, PMM-CLIENT, DB-SERVER가 통신하는 방식이다.  장점 1. 상세 성능 지표 제공 및 커스터마이징 가능DML/DDL 비율Transaction(Commit/Rollback) 발생 비율Temp, Sort 사용 비율Select Type (Range, Full, …)MySQL UptimeActive Connection 수Transaction Commit/RollbackTransaction 수행시간Deadlocks※ 해당 지표에 ..

반응형