Zipkin
https://zipkin.io/pages/quickstart
컨테이너 생성
docker run -d -p 9411:9411 --network gugbab-network --name zipkin openzipkin/zipkin
Prometheus
https://prometheus.io/download/
https://hub.docker.com/r/prom/prometheus
볼륨으로 가져갈 설정파일 수정
...
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["prometheus:9090"] # docker컨테이너에 올라갈 이름
- job_name: "gugbab-api-gateway"
scrape_interval: 15s # 간격 설정
metrics_path: "/actuator/prometheus" # 어디에 수집된 데이터를 시계열 데이토 바꿀지
static_configs: # 서버 설정
- targets: ["api-gateway:7501"] # docker컨테이너에 올라갈 이름
...
컨테이너 생성
docker run -d -p 9090:9090 --network gugbab-network --name prometheus -v /Users/puk0806/Prometheus/prometheus-2.44.0-rc.2.darwin-amd64/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
Grafana
https://grafana.com/grafana/download?pg=get&plcmt=selfmanaged-box1-cta1&platform=docker
컨테이너 생성
docker run -d -p 3000:3000 --network gugbab-network --name grafana grafana/grafana
'DevOps' 카테고리의 다른 글
[CICD] Jenkins - Git,Maven,Gradle Plugins 설정 Docker 배포 Example (0) | 2023.06.06 |
---|---|
[CICD] Docker Container - Jenkins Start Example (0) | 2023.06.05 |
[Docker]Kafka + Zookeeper docker-compose Example (0) | 2023.05.30 |
[Docker] MariaDb Docker Create Connect Example (0) | 2023.05.27 |
[Docker] RabbitMq Docker Create Connect Example (0) | 2023.05.22 |