-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义Prometheus拉取客户端的端口号失效 #1303
Comments
如果使用bootstrap.yml做配置,需指定spring.cloud.polaris.enabled为true。 |
|
有PolarisStatPropertiesBootstrapConfiguration,那么bootstrap阶段,StatConfigModifier应该会生效才对 |
在你的bootstrap.yml下加一个这个配置试试呢? spring:
config:
import: optional:polaris |
|
@wchappygood 如下配置无法设置远端配置的端口吗?我这里尝试是可以的。 spring:
config:
import: optional:polaris
cloud:
polaris:
enbaled: true |
|
@wchappygood 你的诉求是,这个配置也只通过远程配置吗?
bootstrap.yml只留?
|
|
@wchappygood 我用这个配置,是可以支持你的需求的。
|
|
版本:
1.12.4-2021.0.8
spring.cloud.polaris.stat.port设置成28085
Tasks
The text was updated successfully, but these errors were encountered: