728x90

Prometheus 5

PMM

PMM(Percona Monitoring and Management)은 MySQL, MariaDB, MongoDB 등 오픈소스 DB를 위한 성능 모니터링 및 진단 플랫폼입니다.Prometheus + Grafana 기반으로 동작하며, 다음을 제공합니다:실시간 쿼리 성능 분석 (QAN)노드/DB 인스턴스 상태 모니터링Exporter 기반 메트릭 수집Replication, Slow Query, InnoDB 상태 등 시각화Grafana 대시보드 제공 PMM 구성 요소PMM Server메트릭 수집, 저장, 시각화를 담당 (Docker 또는 패키지 설치)PMM Client각 DB 노드에 설치, 메트릭 수집 agentpmm-agentclient 내부에서 실행되며, Exporter 및 설정 전달 담당mysqld_exp..

Infra 2025.06.19

[Grafana] Prometheus 연동

Grafana server - http://192.168.59.134:3000Grafana home - connections - data sources - add data source→ data sources에 prometheus 추가 connection url에 prometheus 서버 주소 입력 후 테스트 연동 확인 테스트용 대쉬보드 importprometheus 2.0 Stats 대시보드 화면* prometheus/node-exporter 연동은 링크 참조 →2024.08.26 - [Prometheus] - Prometheus - Node-exporter 연동 (Linux)​node-exporter 대쉬보드 다운로드→ https://grafana.com/grafana/dashboards/1860-n..

Grafana 2024.08.26

[Prometheus] Redis_exporter 연동 (Linux)

prometheus에서 redis 서버를 모니터링 하기 위해서는 시스템 메트릭을 수집하기 위한 redis_exporter가 필요하다. redis_exporter 다운로드wget https://github.com/oliver006/redis_exporter/releases/download/v1.24.0/redis_exporter-v1.24.0.linux-amd64.tar.gz -> 다운로드 링크 :https://github.com/oliver006/redis_exporter/releases Releases · oliver006/redis_exporterPrometheus Exporter for ValKey & Redis Metrics. Supports ValKey and Redis 2.x, 3.x, 4.x..

Prometheus 2024.08.26

[Prometheus] mysqld_exporter 연동 (Linux)

prometheus에서 MariaDB galera cluster 환경을 모니터링하기 위해서는 mysqld_exporter가 필요하며, 연동 작업이 필요하다. mysqld_exporter 다운로드wget https://github.com/prometheus/mysqld_exporter/releases/download/v0.15.0/mysqld_exporter-0.15.0.linux-amd64.tar.gz→ 다운로드 링크 : https://github.com/prometheus/mysqld_exporter 압축해제tar xzvf mysqld_exporter-0.15.1.linux-amd64.tar.gz  my.cnf 수정vi /etc/my.cnf //mariaDB에 접속 후 데이터 스크래핑을 위한 계정정..

Prometheus 2024.08.26

Prometheus?

SoundCloud사에서 만든 오픈소스 시스템 모니터링 및 경고 툴킷현재 독립형 오픈소스 프로젝트로 많은 회사들이 사용하고 있음kubernetes에서도 Prometheus를 사용하여 매트릭 수집 및 대시보드 구축하는 방식을 지향함   Centos 7 환경 (Vmware player 가상 환경)에서 설치 진행Prometheus 다운로드 (https://prometheus.io/download/ 참고)  linux용 설치 tar 파일 다운로드 및 Linux 서버 업로드tar -xzvf prometheus-2.50.1.linux-amd64.tar.gz //tar파일 설치 서버에 이동 후 압축 해제  Prometheus 서비스 등록 (자동 실행)vi /etc/systemd/system/prometheus.s..

Prometheus 2024.08.26
728x90