You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/docker-compose_cfg/prometheus-compose.yml

29 lines
660 B

#more prometheus-compose.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'openIM-monitor'
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9091']
- job_name: 'openIM-server'
static_configs:
- targets: ['localhost:10006']
metrics_path: /cms/prometheus/metrics
labels:
group: 'cms-api'
- targets: ['localhost:21400']
metrics_path: /metrics
labels:
group: 'msg-transfer'
- job_name: 'node'
scrape_interval: 8s
static_configs:
- targets: ['localhost:9100']