Prometheus + Grafana로 서버 모니터링 대시보드를 만드는 기본 방법을 알려주세요.
Prometheus + Grafana 기본 구축:
# docker-compose.ymlservices: prometheus: image: prom/prometheus volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml ports: - "9090:9090" grafana: image: grafana/grafana ports: - "3000:3000" node-exporter: image: prom/node-exporter ports: - "9100:9100"
# prometheus.ymlscrape_configs: - job_name: "node" static_configs: - targets: ["node-exporter:9100"]
설정 순서:
5분이면 서버 모니터링 대시보드가 완성됩니다.
댓글 1
Prometheus + Grafana 기본 구축:
설정 순서:
5분이면 서버 모니터링 대시보드가 완성됩니다.