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

ynamictp.dynamic-tp-example-polaris-cloud.1.1.8-beta.source-code.bootstrap.yml Maven / Gradle / Ivy

There is a newer version: 1.1.9.1-3.x
Show newest version
server:
  port: 9018

spring:
  application:
    name: dynamic-tp-polaris-cloud-demo
  cloud:
    polaris:
      address: grpc://119.91.66.223:8091
      namespace: default # 设置配置中心命名空间
      discovery:
        enabled: true
      stat:
        enabled: true
        port: 28082
      config:
        auto-refresh: true # auto refresh when config file changed
        groups:
          - name: ${spring.application.name} # group name
            files: [ "config/dynamic-tp.yml" ]

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy