1. Prometheus 설치 : https://prometheus.io/download/
Download | Prometheus
An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
prometheus.io
2. grafana 설치 : https://grafana.com/grafana/download
Download Grafana | Grafana Labs
Overview of how to download and install different versions of Grafana on different operating systems.
grafana.com
다운로드: curl -O https://dl.grafana.com/enterprise/release/grafana-enterprise-9.3.2.darwin-amd64.tar.gz
압축해제: tar -zxvf grafana-enterprise-9.3.2.darwin-amd64.tar.gz
3. prometheus.yml 수집대상 추가
4. prometheus 실행
./prometheus --config.file=prometheus.yml
5. grafana 실행
./bin/grafana-server
'MSA' 카테고리의 다른 글
43. Container 사용하기 (Docker) (0) | 2022.12.18 |
---|---|
42. Prometheus & Grafana 연동 (0) | 2022.12.18 |
40. 모니터링을 위한 Micrometer (0) | 2022.12.15 |
39. Spring Cloud Sleuth와 Zipkin을 이용한 서비스 분산추적 적용 (0) | 2022.12.15 |
38. Microservice의 분산추적 Zipkin (0) | 2022.12.14 |