This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new a30279ce488 Fixed the inaccurate number of current connections caused
by the abnormal shutdown of the client. (#25579)
a30279ce488 is described below
commit a30279ce488d7103cf0054d0ddcad601cc727d4a
Author: jiangML <[email protected]>
AuthorDate: Mon May 15 19:15:22 2023 +0800
Fixed the inaccurate number of current connections caused by the abnormal
shutdown of the client. (#25579)
---
.../src/main/resources/META-INF/conf/prometheus-advisors.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/conf/prometheus-advisors.yaml
b/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/conf/prometheus-advisors.yaml
index 347cbba423c..6c9872bb64a 100644
---
a/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/conf/prometheus-advisors.yaml
+++
b/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/conf/prometheus-advisors.yaml
@@ -43,7 +43,7 @@ advisors:
pointcuts:
- name: processException
type: method
- - target:
org.apache.shardingsphere.proxy.frontend.netty.FrontendChannelInboundHandler
+ - target:
org.apache.shardingsphere.proxy.frontend.netty.FrontendChannelLimitationInboundHandler
advice:
org.apache.shardingsphere.agent.plugin.metrics.core.advice.proxy.CurrentConnectionsCountAdvice
pointcuts:
- name: channelActive