mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-16 14:59:01 +08:00
docker
This commit is contained in:
@@ -6,7 +6,7 @@ datasources:
|
||||
type: prometheus
|
||||
access: proxy
|
||||
orgId: 1
|
||||
url: http://127.0.0.1:10007
|
||||
url: http://127.0.0.1:9091
|
||||
basicAuth: false
|
||||
isDefault: true
|
||||
version: 1
|
||||
|
||||
@@ -38,7 +38,7 @@ protocol = http
|
||||
http_addr =
|
||||
|
||||
# The http port to use
|
||||
http_port = 10008
|
||||
http_port = 10007
|
||||
|
||||
# The public facing domain name used to access grafana from a browser
|
||||
domain = localhost
|
||||
|
||||
@@ -6,9 +6,13 @@ global:
|
||||
scrape_configs:
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:10007']
|
||||
- targets: ['localhost:9091']
|
||||
- job_name: 'openIM-server'
|
||||
metrics_path: /cms/prometheus/metrics
|
||||
static_configs:
|
||||
- targets: ['localhost:10006']
|
||||
- job_name: 'node'
|
||||
scrape_interval: 8s
|
||||
static_configs:
|
||||
- targets: ['localhost:9100']
|
||||
|
||||
Reference in New Issue
Block a user