sentinel 启动配置项
启动配置项
参数设置
# 虚拟机设置:-Dkey=value,优先级最高
-Dcsp.sentinel.config.file=classpath:sentinel.properties
# 配置文件设置
-Dcsp.sentinel.config.file参数指定配置文件的位置,
默认为classpath:sentinel.properties,编码为UTF-8
基础配置项
project.name:项目名称,如果没有指定,默认为main函数的类名
csp.sentinel.app.type:应用类型,默认为0
csp.sentinel.metric.file.single.size:单个监控日志文件的大小,默认为50m
csp.sentinel.metric.file.total.count:监控日志文件的总数上限,默认为