parent
9842e5624e
commit
95910f5c17
@ -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:10007
|
||||||
|
basicAuth: false
|
||||||
|
isDefault: true
|
||||||
|
version: 1
|
||||||
|
editable: true
|
@ -0,0 +1,13 @@
|
|||||||
|
#more prometheus-compose.yml
|
||||||
|
global:
|
||||||
|
scrape_interval: 15s
|
||||||
|
evaluation_interval: 15s
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: 'prometheus'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['localhost:10007']
|
||||||
|
- job_name: 'openIM-server'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['localhost:10006/cms/prometheus/']
|
||||||
|
|
Loading…
Reference in new issue