Prometheus
架构简介
快速部署
1. 准备配置文件
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']2. 编写 Docker Compose 文件
3. 启动服务
配置 Grafana 面板
最后更新于