msm-service-example.toml 672 B

123456789101112131415161718192021222324252627
  1. [httpClient]
  2. key = "654af11b5df0c9d3"
  3. secret = "a7512b8b243b82f4bdb72cf2824b3f8e"
  4. dial = "1s"
  5. timeout = "1s"
  6. keepAlive = "60s"
  7. [mysql]
  8. addr = "172.16.33.205:3308"
  9. 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"
  10. active = 5
  11. idle = 5
  12. queryTimeout = "500ms"
  13. execTimeout = "500ms"
  14. tranTimeout = "500ms"
  15. idleTimeout = "7h"
  16. [mysql.breaker]
  17. window = "3s"
  18. sleep = "100ms"
  19. bucket = 10
  20. ratio = 0.5
  21. request = 100
  22. [tree]
  23. host = "http://easyst.bilibili.co"
  24. platformID = "bilibili"