system-dev.properties 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #配置HttpClient连接超时8s
  2. monitor.server.httpclient.connectTimeout=8000
  3. #配置HttpClient读取超时4s
  4. monitor.server.httpclient.socketTimeout=4000
  5. #配置HttpClient连接池获取连接实例的超时4s
  6. monitor.server.httpclient.connectRequestTimeout=4000
  7. #配置HttpClient最大重连数,默认5次
  8. monitor.server.httpclient.maxRedirects=5
  9. #配置HttpClient连接池大小
  10. monitor.server.httpclient.poolSize=40
  11. #配置HttpClient字符集
  12. monitor.server.httpclient.charset=UTF-8
  13. #配置prometheus监控URL
  14. monitor.server.prometheus.url=http://10.110.200.62:9090/api/v1/query_range
  15. #配置prometheus受监控主机实例名
  16. monitor.server.prometheus.name=container
  17. #配置prometheus受监控主机端口
  18. monitor.server.prometheus.port=9100
  19. #配置prometheus受监控主机网速监控device规则(en开头)
  20. monitor.server.prometheus.device=en.%2B
  21. #配置prometheus网络监控时长(默认监控device驱动,输出时长45s)
  22. monitor.server.prometheus.times=45
  23. #配置多数据源
  24. custom.datasource.names=db1
  25. custom.datasource.db1.url=jdbc:oracle:thin:@10.110.200.45:1521/shenlan
  26. custom.datasource.db1.username=metro
  27. custom.datasource.db1.password=metropwd123
  28. custom.datasource.db1.driver-class-name=oracle.jdbc.driver.OracleDriver