81 lines
1.8 KiB
TOML
81 lines
1.8 KiB
TOML
|
|
||
|
[log]
|
||
|
dir = "/data/log/config-admin/"
|
||
|
|
||
|
[auth]
|
||
|
managerHost = "http://uat-manager.bilibili.co"
|
||
|
dashboardHost = "http://dashboard-mng.bilibili.co"
|
||
|
dashboardCaller = "sven"
|
||
|
[auth.DsHTTPClient]
|
||
|
key = "sven"
|
||
|
secret = "a9564ebc3289b7a14551baf8ad5ec60a"
|
||
|
dial = "1s"
|
||
|
timeout = "1s"
|
||
|
keepAlive = "60s"
|
||
|
[auth.DsHTTPClient.breaker]
|
||
|
window = "3s"
|
||
|
sleep = "100ms"
|
||
|
bucket = 10
|
||
|
ratio = 0.5
|
||
|
request = 100
|
||
|
[auth.MaHTTPClient]
|
||
|
key = "f6433799dbd88751"
|
||
|
secret = "36f8ddb1806207fe07013ab6a77a3935"
|
||
|
dial = "1s"
|
||
|
timeout = "1s"
|
||
|
keepAlive = "60s"
|
||
|
[auth.MaHTTPClient.breaker]
|
||
|
window = "3s"
|
||
|
sleep = "100ms"
|
||
|
bucket = 10
|
||
|
ratio = 0.5
|
||
|
request = 100
|
||
|
[auth.session]
|
||
|
sessionIDLength = 32
|
||
|
cookieLifeTime = 1800
|
||
|
cookieName = "sven-apm"
|
||
|
domain = ".bilibili.co"
|
||
|
[auth.session.Memcache]
|
||
|
name = "go-business/auth"
|
||
|
proto = "tcp"
|
||
|
addr = "172.18.33.61:11232"
|
||
|
active = 10
|
||
|
idle = 10
|
||
|
dialTimeout = "1s"
|
||
|
readTimeout = "1s"
|
||
|
writeTimeout = "1s"
|
||
|
idleTimeout = "80s"
|
||
|
|
||
|
|
||
|
|
||
|
[httpClient]
|
||
|
key = "test"
|
||
|
secret = "e6c4c252dc7e3d8a90805eecd7c73396"
|
||
|
dial = "1s"
|
||
|
timeout = "10s"
|
||
|
keepAlive = "60s"
|
||
|
timer = 1000
|
||
|
[httpClient.breaker]
|
||
|
window = "10s"
|
||
|
sleep = "100ms"
|
||
|
bucket = 10
|
||
|
ratio = 0.5
|
||
|
request = 100
|
||
|
|
||
|
[orm]
|
||
|
dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_config?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
|
||
|
active = 5
|
||
|
idle = 5
|
||
|
idleTimeout = "4h"
|
||
|
|
||
|
[ormapm]
|
||
|
dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_apm?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
|
||
|
active = 5
|
||
|
idle = 5
|
||
|
idleTimeout = "4h"
|
||
|
|
||
|
[tree]
|
||
|
platform = "2F3b8fDVGlMnj8aCDlMaW"
|
||
|
|
||
|
[ConfSvr]
|
||
|
timeout = "1s"
|