Skip to content
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

change javaagent configmap #186

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions deploy/kubernetes_v1.21/kubernetes/javaagent-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,16 @@ data:
#spring.cloud.polaris.loadbalancer.strategy=random

## 是否启用北极星服务路由能力
spring.cloud.polaris.router.enabled=false
spring.cloud.polaris.router.enabled=true
# 是否启用北极星的自定义路由能力
spring.cloud.polaris.router.rule-router.enabled=false
spring.cloud.polaris.router.rule-router.enabled=true
# 是否启用北极星的元数据路由能力
spring.cloud.polaris.router.metadata-router.enabled=false
spring.cloud.polaris.router.metadata-router.enabled=true
# 是否启用北极星的就近路由能力
spring.cloud.polaris.router.nearby-router.enabled=false
spring.cloud.polaris.router.nearby-router.enabled=true

## 是否启用北极星的服务限流能力
spring.cloud.polaris.ratelimit.enabled=false
spring.cloud.polaris.ratelimit.enabled=true
# 设置触发限流时的提示信息
# spring.cloud.polaris.ratelimit.rejectRequestTips=""
# 设置触发限流时的响应码
Expand All @@ -205,14 +205,28 @@ data:
spring.cloud.polaris.ratelimit.maxQueuingTime=1000

## RPC 调用增强
spring.cloud.tencent.rpc-enhancement.enabled=false
spring.cloud.tencent.rpc-enhancement.enabled=true
# 开启 RPC 调用结果上报
spring.cloud.tencent.rpc-enhancement.reporter.enabled=false

## 是否启用北极星的服务熔断能力
spring.cloud.polaris.circuitbreaker.enabled=true

# 配置北极星监控指标上报
spring.cloud.polaris.stat.enabled=false
# 指标上报监听端口
spring.cloud.polaris.stat.port=0
# 指标上报暴露的 http path
spring.cloud.polaris.stat.path=/metrics

## 是否启用优雅上下线功能
spring.cloud.polaris.lossless.enabled=false
spring.cloud.polaris.lossless.port=28080
spring.cloud.polaris.lossless.delayRegisterInterval=30000

## 地域信息
spring.cloud.tencent.metadata.content.region=""
spring.cloud.tencent.metadata.content.zone=""
spring.cloud.tencent.metadata.content.campus=""


27 changes: 20 additions & 7 deletions deploy/kubernetes_v1.22/kubernetes/javaagent-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,16 @@ data:
#spring.cloud.polaris.loadbalancer.strategy=random

## 是否启用北极星服务路由能力
spring.cloud.polaris.router.enabled=false
spring.cloud.polaris.router.enabled=true
# 是否启用北极星的自定义路由能力
spring.cloud.polaris.router.rule-router.enabled=false
spring.cloud.polaris.router.rule-router.enabled=true
# 是否启用北极星的元数据路由能力
spring.cloud.polaris.router.metadata-router.enabled=false
spring.cloud.polaris.router.metadata-router.enabled=true
# 是否启用北极星的就近路由能力
spring.cloud.polaris.router.nearby-router.enabled=false
spring.cloud.polaris.router.nearby-router.enabled=true

## 是否启用北极星的服务限流能力
spring.cloud.polaris.ratelimit.enabled=false
spring.cloud.polaris.ratelimit.enabled=true
# 设置触发限流时的提示信息
# spring.cloud.polaris.ratelimit.rejectRequestTips=""
# 设置触发限流时的响应码
Expand All @@ -205,13 +205,26 @@ data:
spring.cloud.polaris.ratelimit.maxQueuingTime=1000

## RPC 调用增强
spring.cloud.tencent.rpc-enhancement.enabled=false
spring.cloud.tencent.rpc-enhancement.enabled=true
# 开启 RPC 调用结果上报
spring.cloud.tencent.rpc-enhancement.reporter.enabled=false

## 是否启用北极星的服务熔断能力
spring.cloud.polaris.circuitbreaker.enabled=true

# 配置北极星监控指标上报
spring.cloud.polaris.stat.enabled=false
# 指标上报监听端口
spring.cloud.polaris.stat.port=0
# 指标上报暴露的 http path
spring.cloud.polaris.stat.path=/metrics
spring.cloud.polaris.stat.path=/metrics

## 是否启用优雅上下线功能
spring.cloud.polaris.lossless.enabled=false
spring.cloud.polaris.lossless.port=28080
spring.cloud.polaris.lossless.delayRegisterInterval=30000

## 地域信息
spring.cloud.tencent.metadata.content.region=""
spring.cloud.tencent.metadata.content.zone=""
spring.cloud.tencent.metadata.content.campus=""
Loading