This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 b9b5d32b177 Refactor prometheus' interceptors.yaml (#22800)
b9b5d32b177 is described below
commit b9b5d32b1773d8126f6eb93a54593658e68a060d
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Dec 11 16:39:17 2022 +0800
Refactor prometheus' interceptors.yaml (#22800)
---
.../main/resources/prometheus/interceptors.yaml | 36 +++++++++++-----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git
a/agent/plugins/metrics/prometheus/src/main/resources/prometheus/interceptors.yaml
b/agent/plugins/metrics/prometheus/src/main/resources/prometheus/interceptors.yaml
index 48b48ef2ea4..2b6b9aeaa19 100644
---
a/agent/plugins/metrics/prometheus/src/main/resources/prometheus/interceptors.yaml
+++
b/agent/plugins/metrics/prometheus/src/main/resources/prometheus/interceptors.yaml
@@ -19,33 +19,33 @@ interceptors:
- target:
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask
instanceAdvice:
org.apache.shardingsphere.agent.metrics.api.advice.CommandExecutorTaskAdvice
points:
- - type: instance
- name: run
- - type: instance
- name: processException
+ - name: run
+ type: instance
+ - name: processException
+ type: instance
- target:
org.apache.shardingsphere.proxy.frontend.netty.FrontendChannelInboundHandler
instanceAdvice:
org.apache.shardingsphere.agent.metrics.api.advice.ChannelHandlerAdvice
points:
- - type: instance
- name: channelActive
- - type: instance
- name: channelRead
- - type: instance
- name: channelInactive
+ - name: channelActive
+ type: instance
+ - name: channelRead
+ type: instance
+ - name: channelInactive
+ type: instance
- target: org.apache.shardingsphere.infra.route.engine.SQLRouteEngine
instanceAdvice:
org.apache.shardingsphere.agent.metrics.api.advice.SQLRouteEngineAdvice
points:
- - type: instance
- name: route
+ - name: route
+ type: instance
- target:
org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.JDBCBackendTransactionManager
instanceAdvice:
org.apache.shardingsphere.agent.metrics.api.advice.TransactionAdvice
points:
- - type: instance
- name: commit
- - type: instance
- name: rollback
+ - name: commit
+ type: instance
+ - name: rollback
+ type: instance
- target:
org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine
instanceAdvice:
org.apache.shardingsphere.agent.metrics.api.advice.SQLParserEngineAdvice
points:
- - type: instance
- name: parse
+ - name: parse
+ type: instance