commit
22099d82be
@ -0,0 +1,13 @@
|
|||||||
|
#more datasource-compose.yaml
|
||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: Prometheus
|
||||||
|
type: prometheus
|
||||||
|
access: proxy
|
||||||
|
orgId: 1
|
||||||
|
url: http://127.0.0.1:9091
|
||||||
|
basicAuth: false
|
||||||
|
isDefault: true
|
||||||
|
version: 1
|
||||||
|
editable: true
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@
|
|||||||
|
#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'
|
||||||
|
metrics_path: /metrics
|
||||||
|
static_configs:
|
||||||
|
- targets: ['localhost:10006']
|
||||||
|
labels:
|
||||||
|
group: 'cms-api'
|
||||||
|
- targets: ['localhost:21400']
|
||||||
|
labels:
|
||||||
|
group: 'msg-transfer'
|
||||||
|
|
||||||
|
|
||||||
|
- job_name: 'node'
|
||||||
|
scrape_interval: 8s
|
||||||
|
static_configs:
|
||||||
|
- targets: ['localhost:9100']
|
||||||
|
|
Loading…
Reference in new issue