You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
992 B
37 lines
992 B
# spring-boot-admin 配置 |
|
management: |
|
endpoints: |
|
web: |
|
# 暴露所有监控点(监控请求url地址)配置 |
|
exposure: |
|
include: '*' |
|
endpoint: |
|
health: |
|
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示 |
|
show-details: ALWAYS |
|
|
|
# spring-boot内置logback 配置 |
|
logging: |
|
level: |
|
org: |
|
springframework: |
|
web: info |
|
file: |
|
# 指定日志文件的位置 |
|
name: ${user.home}/logs/csp/sentinel-dashboard.log |
|
pattern: |
|
# 日志文件输出内容的格式 |
|
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n' |
|
|
|
# sentinel 安全配置 |
|
auth: |
|
username: sentinel |
|
password: sentinel |
|
filter: |
|
exclude-urls: /,/auth/login,/auth/logout,/registry/machine,/version,/actuator/**,/details |
|
exclude-url-suffixes: htm,html,js,css,map,ico,ttf,woff,png |
|
|
|
sentinel: |
|
dashboard: |
|
# 配置 sentinel 控制台版本号 |
|
version: 1.8.0 |