|
|
@ -19,67 +19,67 @@ rule_files:
|
|
|
|
# A scrape configuration containing exactly one endpoint to scrape:
|
|
|
|
# A scrape configuration containing exactly one endpoint to scrape:
|
|
|
|
# Here it's Prometheus itself.
|
|
|
|
# Here it's Prometheus itself.
|
|
|
|
scrape_configs:
|
|
|
|
scrape_configs:
|
|
|
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
|
|
|
# The job name is added as a label to any timeseries scraped from this config.
|
|
|
|
# prometheus抓取的监控的信息
|
|
|
|
# Monitored information captured by prometheus
|
|
|
|
- job_name: 'node-exporter'
|
|
|
|
- job_name: 'node-exporter'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:19100' ]
|
|
|
|
- targets: [ '172.28.0.1:19100' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
|
|
|
|
|
|
|
|
# prometheus抓取应用服务
|
|
|
|
# prometheus fetches application services
|
|
|
|
- job_name: 'openimserver-openim-api'
|
|
|
|
- job_name: 'openimserver-openim-api'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20100' ]
|
|
|
|
- targets: [ '172.28.0.1:20100' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-msggateway'
|
|
|
|
- job_name: 'openimserver-openim-msggateway'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20140' ]
|
|
|
|
- targets: [ '172.28.0.1:20140' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-msgtransfer'
|
|
|
|
- job_name: 'openimserver-openim-msgtransfer'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:21400','172.29.166.17:21401','172.29.166.17:21402','172.29.166.17:21403' ]
|
|
|
|
- targets: [ 172.28.0.1:21400, 172.28.0.1:21401, 172.28.0.1:21402, 172.28.0.1:21403 ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-push'
|
|
|
|
- job_name: 'openimserver-openim-push'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20170' ]
|
|
|
|
- targets: [ '172.28.0.1:20170' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-auth'
|
|
|
|
- job_name: 'openimserver-openim-rpc-auth'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20160' ]
|
|
|
|
- targets: [ '172.28.0.1:20160' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-conversation'
|
|
|
|
- job_name: 'openimserver-openim-rpc-conversation'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20230' ]
|
|
|
|
- targets: [ '172.28.0.1:20230' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-friend'
|
|
|
|
- job_name: 'openimserver-openim-rpc-friend'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20120' ]
|
|
|
|
- targets: [ '172.28.0.1:20120' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-group'
|
|
|
|
- job_name: 'openimserver-openim-rpc-group'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20150' ]
|
|
|
|
- targets: [ '172.28.0.1:20150' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-msg'
|
|
|
|
- job_name: 'openimserver-openim-rpc-msg'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20130' ]
|
|
|
|
- targets: [ '172.28.0.1:20130' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-third'
|
|
|
|
- job_name: 'openimserver-openim-rpc-third'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:21301' ]
|
|
|
|
- targets: [ '172.28.0.1:21301' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|
- job_name: 'openimserver-openim-rpc-user'
|
|
|
|
- job_name: 'openimserver-openim-rpc-user'
|
|
|
|
static_configs:
|
|
|
|
static_configs:
|
|
|
|
- targets: [ '172.29.166.17:20110' ]
|
|
|
|
- targets: [ '172.28.0.1:20110' ]
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
namespace: 'default'
|
|
|
|
namespace: 'default'
|
|
|
|