Skip to content

Commit

Permalink
docs: metrics configuration (#816)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Jun 28, 2023
1 parent ce0b531 commit 08ec5a0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/en/deployment/configuration/cdn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ base:
location:
idc:

# enable prometheus metrics
# metrics:
# # metrics service address
# addr: ":8000"

plugins:
storagedriver:
- name: disk
Expand Down
6 changes: 6 additions & 0 deletions docs/en/deployment/configuration/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ database:
host: dragonfly
port: 6379
db: 0

# manager server cache
# cache:
# # redis cache configure
Expand All @@ -46,3 +47,8 @@ database:
# size: 10000
# # cache ttl configure
# ttl: 30s

# enable prometheus metrics
# metrics:
# # metrics service address
# addr: ":8000"
9 changes: 7 additions & 2 deletions docs/en/deployment/configuration/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ job:
# backendDB
backendDB: ""

# Whether to disable CDN
# whether to disable CDN
# default: false
disableCDN: false

# Console shows log on console
# console shows log on console
# default: false
console: false

Expand All @@ -120,3 +120,8 @@ jaeger: ""
# service name used in tracer
# default: dragonfly-scheduler
service-name: dragonfly-scheduler

# enable prometheus metrics
# metrics:
# # metrics service address
# addr: ":8000"
5 changes: 5 additions & 0 deletions docs/zh-CN/deployment/configuration/cdn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ base:
# IDC(Internet Data Center),互联网数据中心
idc: ""

# 开启数据收集服务
# metrics:
# # 数据服务地址
# addr: ":8000"

plugins:
storagedriver:
- name: disk
Expand Down
6 changes: 6 additions & 0 deletions docs/zh-CN/deployment/configuration/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ database:
host: dragonfly
port: 6379
db: 0

# 缓存配置
# cache:
# # redis 缓存配置
Expand All @@ -44,3 +45,8 @@ database:
# size: 10000
# # ttl 配置
# ttl: 30s

# 开启数据收集服务
# metrics:
# # 数据服务地址
# addr: ":8000"
5 changes: 5 additions & 0 deletions docs/zh-CN/deployment/configuration/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,8 @@ jaeger: ""
# tracer 中使用的 service-name
# 默认值:dragonfly-cdn
service-name: dragonfly-scheduler

# 开启数据收集服务
# metrics:
# # 数据服务地址
# addr: ":8000"

0 comments on commit 08ec5a0

Please sign in to comment.