docker-compose

This commit is contained in:
wangchuxiao
2022-09-09 01:10:06 +08:00
parent 4af9d88771
commit aebcd1db2e
9 changed files with 7339 additions and 20 deletions
File diff suppressed because it is too large Load Diff
+13 -2
View File
@@ -2,15 +2,26 @@
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'
metrics_path: /cms/prometheus/metrics
static_configs:
- targets: ['localhost:10006']
- 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: