All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ynamictp.dynamic-tp-example-adapter-motan.1.1.8-3.x.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 1.1.9-3.x
Show newest version
server:
  port: 9106

spring:
  application:
    name: dynamic-tp-adapter-motan-demo
  profiles:
    active: dev

  dynamic:
    tp:
      enabled: true
      enabledCollect: true          # 是否开启监控指标采集,默认false
      collectorTypes: logging       # 监控数据采集器类型(logging | micrometer | internal_logging),默认micrometer
      monitorInterval: 5
      platforms:                    # 通知报警平台配置
        - platform: wechat
          urlKey: 3a7500-1287-4bd-a798-c5c3d8b69c  # 替换
          receivers: test1,test2                   # 接受人企微名称
        - platform: ding
          urlKey: f80dad441fcd655438f4a08dcd6a     # 替换
          secret: SECb5441fa6f375d5b9d21           # 替换,非sign模式可以没有此值
          receivers: 15810119805                   # 钉钉账号手机号
        - platform: lark
          urlKey: 0d944ae7-b24a-40                 # 替换
          receivers: test1,test2                   # 接受人飞书名称/openid
      motanTp:                                     # motan server 线程池配置
        - threadPoolName: motanTp#8002
          corePoolSize: 100
          maximumPoolSize: 200
          keepAliveTime: 60

# 开启 SpringBoot Actuator Endpoint 暴露出DynamicTp指标接口
# 开启 prometheus 指标采集端点
management:
  endpoints:
    web:
      exposure:
        include: '*'   # 测试使用,线上不要用*,按需开启
  prometheus:
    metrics:
      export:
        enabled: true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy