You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/01 02:28:11 UTC
[GitHub] [shardingsphere] wsm12138 opened a new issue, #22550: Agent + SS-JDBC,can't show metrics by prometheus.
wsm12138 opened a new issue, #22550:
URL: https://github.com/apache/shardingsphere/issues/22550
## Bug Report
### Which version of ShardingSphere did you use?
7e6d00dbfab5f016fae7736f805c34df469a2907
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC or ShardingSphere-Proxy
### Expected behavior
ShardingSphere-JDBC & ShardingSphere-Proxy have same behave.
### Actual behavior
```
[root@localhost 1130]# cat agent/conf/agent.yaml | grep -v ^#
plugins:
metrics:
Prometheus:
host: "localhost"
port: 9999
props:
jvm-information-collector-enabled: "true"
```
Use same `agent.yaml` ,proxy can show metrics,but ss-jdbc can't.
### Reason analyze (If you can)
If i want ss-jdbc + agent have metric,i must start `loggin`.
```
plugins:
logging:
BaseLogging:
props:
level: "INFO"
metrics:
Prometheus:
host: "localhost"
port: 9999
props:
jvm-information-collector-enabled: "true"
```
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] jiangML commented on issue #22550: Agent + SS-JDBC,can't show metrics by prometheus.
Posted by GitBox <gi...@apache.org>.
jiangML commented on issue #22550:
URL: https://github.com/apache/shardingsphere/issues/22550#issuecomment-1333072195
let me try to fix it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang commented on issue #22550: Agent + SS-JDBC,can't show metrics by prometheus.
Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #22550:
URL: https://github.com/apache/shardingsphere/issues/22550#issuecomment-1407370462
Hi @wsm12138 ,
Please check if the problem is solved, thanks~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] jiangML commented on issue #22550: Agent + SS-JDBC,can't show metrics by prometheus.
Posted by "jiangML (via GitHub)" <gi...@apache.org>.
jiangML commented on issue #22550:
URL: https://github.com/apache/shardingsphere/issues/22550#issuecomment-1407370259
In the case of jdbc, the start of the prometheus service will be triggered only after relevant requests are required, and the indicators will be exposed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Agent + SS-JDBC,can't show metrics by prometheus. [shardingsphere]
Posted by "jiangML (via GitHub)" <gi...@apache.org>.
jiangML closed issue #22550: Agent + SS-JDBC,can't show metrics by prometheus.
URL: https://github.com/apache/shardingsphere/issues/22550
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org