apm-admin-test.toml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. env = "dev"
  2. apptoken = "a999eb3371de0a7be87d92823be36817"
  3. [utBaseLine]
  4. coverage = 60
  5. passrate = 100
  6. superman = ["haoguanwei","linli"]
  7. [pprof]
  8. dir = "/data/pprof"
  9. #goPath = "/usr/local/go/bin/go"
  10. [databusConfig]
  11. partitions = 3
  12. factor = 1
  13. [tree]
  14. platformID = "2F3b8fDVGlMnj8aCDlMaW"
  15. msmPlatformID = "VH7rmAQ+9)T/tLXdCAwQ.X*evJFxWWjKA7)xYeG]p]UB{4jGY,rBBr"
  16. [host]
  17. apiCo = "http://172.22.33.185:7171"
  18. svenCo = "http://fat1-sven.bilibili.co"
  19. managerCo = "http://uat-manager.bilibili.co"
  20. dapperCo = "http://172.16.38.143:6193"
  21. [canal]
  22. canalsvenCo = "http://fat1-sven.bilibili.co"
  23. reviewer = ["fengshanshan"]
  24. [discovery]
  25. api = ["172.22.33.185:7171","172.22.33.174:7171","172.22.33.183:7171"]
  26. [log]
  27. stdout = true
  28. # dir = "/data/log/apm-admin"
  29. # [log.agent]
  30. # family = "apm-manager"
  31. # taskID = "000069"
  32. # proto = "unixgram"
  33. # addr = "/var/run/lancer/collector.sock"
  34. # chan = 10240
  35. [httpClient]
  36. key = "3c4e41f926e51656"
  37. secret = "26a2095b60c24154521d24ae62b885bb"
  38. dial = "3s"
  39. timeout = "10s"
  40. keepAlive = "60s"
  41. [orm]
  42. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_apm_v2?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  43. #dsn = "root:root@tcp(127.0.0.1:3306)/bilibili_apm_v2?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  44. active = 5
  45. idle = 1
  46. idleTimeout = "4h"
  47. [ormdatabus]
  48. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_databus_v2?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  49. active = 5
  50. idle = 1
  51. idleTimeout = "4h"
  52. [ormcanal]
  53. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_canal?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  54. active = 5
  55. idle = 1
  56. idleTimeout = "4h"
  57. [ormapmmonitor]
  58. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_apm?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  59. active = 5
  60. idle = 1
  61. idleTimeout = "4h"
  62. [kafka]
  63. "test_kafka_9092-266" = { brokers = ["172.16.38.154:9192"] }
  64. [auth]
  65. managerHost = "http://uat-manager.bilibili.co"
  66. dashboardHost = "http://dashboard-mng.bilibili.co"
  67. dashboardCaller = "sven"
  68. [auth.DsHTTPClient]
  69. key = "sven"
  70. secret = "a9564ebc3289b7a14551baf8ad5ec60a"
  71. dial = "1s"
  72. timeout = "1s"
  73. keepAlive = "60s"
  74. [auth.DsHTTPClient.breaker]
  75. window = "3s"
  76. sleep = "100ms"
  77. bucket = 10
  78. ratio = 0.5
  79. request = 100
  80. [auth.MaHTTPClient]
  81. key = "f6433799dbd88751"
  82. secret = "36f8ddb1806207fe07013ab6a77a3935"
  83. dial = "1s"
  84. timeout = "1s"
  85. keepAlive = "60s"
  86. [auth.MaHTTPClient.breaker]
  87. window = "3s"
  88. sleep = "100ms"
  89. bucket = 10
  90. ratio = 0.5
  91. request = 100
  92. [auth.session]
  93. sessionIDLength = 32
  94. cookieLifeTime = 1800
  95. cookieName = "sven-apm"
  96. domain = ".bilibili.co"
  97. [auth.session.Memcache]
  98. name = "go-business/auth"
  99. proto = "tcp"
  100. addr = "172.16.33.54:11211"
  101. active = 10
  102. idle = 10
  103. dialTimeout = "10ms"
  104. readTimeout = "10ms"
  105. writeTimeout = "10ms"
  106. idleTimeout = "80s"
  107. [bfs]
  108. addr = "http://bfs.bilibili.co"
  109. bucket = "test"
  110. key = "221bce6492eba70f"
  111. secret = "6eb80603e85842542f9736eb13b7e3"
  112. # 上传文件大小限制为1M
  113. maxFileSize = 1048576
  114. [prometheus]
  115. url = "http://merak.bilibili.co/"
  116. key = "71f079db59672ecec5b8d6f252c4b59ab2a8a227mainsite@bilibili.com"
  117. secret = "37ba757817b4e9c45c7e97f6ed5eee4e1c7bac52"
  118. [apps]
  119. name = ["main.account.member-service", "main.account.vip-service"]
  120. max = 1000
  121. [broadcast]
  122. tencent = ["tx-bj-pf-broadcast-01","tx-bj-pf-broadcast-02","tx-bj-pf-broadcast-03","tx-bj-pf-broadcast-04","tx-bj-pf-broadcast-05",
  123. "tx-bj-pf-broadcast-06","tx-bj-pf-broadcast-07",
  124. "tx-gz-pf-broadcast-001","tx-gz-pf-broadcast-002","tx-gz-pf-broadcast-003","tx-gz-pf-broadcast-004","tx-gz-pf-broadcast-005",
  125. "tx-gz-pf-broadcast-006","tx-gz-pf-broadcast-007",
  126. ]
  127. kingsoft = ["ks-sh2-pf-dmcmt-pm-01", "ks-sh2-pf-dmcmt-pm-02",
  128. "ks-pf-broadcast-001","ks-pf-broadcast-002","ks-pf-broadcast-003","ks-pf-broadcast-004","ks-pf-broadcast-005",]
  129. [cron]
  130. crontab = "0 0 23 * * *"
  131. crontabRepo = "0 0 19 * * *"
  132. [wechat]
  133. users = ["chengxing"]
  134. chatid = "utbroadcasttest"
  135. [gitlab]
  136. api = "http://git.bilibili.co/api/v4"
  137. # personal token
  138. token= "UfzT-r-dhEXpGopxYFYW"
  139. [redis]
  140. name = "apm-admin/apm"
  141. proto = "tcp"
  142. addr = "172.22.33.117:6816"
  143. idle = 2
  144. active = 10
  145. dialTimeout = "1s"
  146. readTimeout = "1s"
  147. writeTimeout = "1s"
  148. expireTime = "1h"