mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
upgrade config file
This commit is contained in:
@@ -7,6 +7,7 @@ service_name = "rustfs"
|
|||||||
service_version = "0.1.0"
|
service_version = "0.1.0"
|
||||||
environments = "production"
|
environments = "production"
|
||||||
logger_level = "debug"
|
logger_level = "debug"
|
||||||
|
local_logging_enabled = true
|
||||||
|
|
||||||
[sinks]
|
[sinks]
|
||||||
[sinks.kafka] # Kafka sink is disabled by default
|
[sinks.kafka] # Kafka sink is disabled by default
|
||||||
|
|||||||
@@ -37,9 +37,14 @@ extensions:
|
|||||||
traces_archive: another_store
|
traces_archive: another_store
|
||||||
ui:
|
ui:
|
||||||
config_file: ./cmd/jaeger/config-ui.json
|
config_file: ./cmd/jaeger/config-ui.json
|
||||||
|
log_access: true
|
||||||
# The maximum duration that is considered for clock skew adjustments.
|
# The maximum duration that is considered for clock skew adjustments.
|
||||||
# Defaults to 0 seconds, which means it's disabled.
|
# Defaults to 0 seconds, which means it's disabled.
|
||||||
max_clock_skew_adjust: 0s
|
max_clock_skew_adjust: 0s
|
||||||
|
grpc:
|
||||||
|
endpoint: 0.0.0.0:16685
|
||||||
|
http:
|
||||||
|
endpoint: 0.0.0.0:16686
|
||||||
|
|
||||||
jaeger_storage:
|
jaeger_storage:
|
||||||
backends:
|
backends:
|
||||||
@@ -49,6 +54,12 @@ extensions:
|
|||||||
another_store:
|
another_store:
|
||||||
memory:
|
memory:
|
||||||
max_traces: 100000
|
max_traces: 100000
|
||||||
|
metric_backends:
|
||||||
|
some_metrics_storage:
|
||||||
|
prometheus:
|
||||||
|
endpoint: http://prometheus:9090
|
||||||
|
normalize_calls: true
|
||||||
|
normalize_duration: true
|
||||||
|
|
||||||
remote_sampling:
|
remote_sampling:
|
||||||
# You can either use file or adaptive sampling strategy in remote_sampling
|
# You can either use file or adaptive sampling strategy in remote_sampling
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ meter_interval = 30 # 指标收集间隔,单位为秒
|
|||||||
service_name = "rustfs" # 服务名称,用于标识当前服务
|
service_name = "rustfs" # 服务名称,用于标识当前服务
|
||||||
service_version = "0.1.0" # 服务版本号
|
service_version = "0.1.0" # 服务版本号
|
||||||
environments = "develop" # 运行环境,如开发环境 (develop)
|
environments = "develop" # 运行环境,如开发环境 (develop)
|
||||||
logger_level = "debug" # 日志级别,可选 debug/info/warn/error 等
|
logger_level = "debug" # 日志级别,可选 debug/info/warn/error 等
|
||||||
|
local_logging_enabled = true # 是否启用本地 stdout 日志记录,true 表示启用,false 表示禁用
|
||||||
|
|
||||||
[sinks]
|
[sinks]
|
||||||
[sinks.kafka] # Kafka 接收器配置
|
[sinks.kafka] # Kafka 接收器配置
|
||||||
|
|||||||
Reference in New Issue
Block a user