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 2021/11/11 09:31:00 UTC

[GitHub] [shardingsphere] linghengqian opened a new issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

linghengqian opened a new issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553


   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   One question, does the ShardingSphere agent already exist in the ShardingSphere proxy, and how to disable it?
   
   If the binary distribution package of `ShardingSphere-Proxy` does not include this component, I think the `APM INTEGRATION` part of the document can be changed to avoid ambiguity.
   
   ![image](https://user-images.githubusercontent.com/20187731/141273105-81bea5e0-5047-4b86-81c9-ef1bd7c5eb67.png)
   
   
   


-- 
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] linghengqian edited a comment on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
linghengqian edited a comment on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968543673


   @penghuazhou 
   Hi, I am sorry that I have no experience in using `ShardingSphere Agent`. As far as I know, `skywalking` automatic probe, `OpenTracing` protocol and `OpenTelemetry` protocol are three unrelated APM implementations, and before `5.0.0-beta`There is no issue that cannot use the APM function.
   Because the documentation of the `master` branch is different from the documentation of the `5.0.0` branch, if you are a Chinese developer, I think you can go to https://shardingsphere.apache.org/document/5.0.0/cn/features/governance/observability/ Go find the answer.
   Mention issues unrelated to the subject under unrelated issues, I think it is inconvenient for later searchers to retrieve. I think you can create an issue with `question` with `type`, attach the steps to reproduce the issue, and use The `markdown` syntax covers code blocks. I believe friends in the community who are familiar with `shardingsphere agent` will help you.


-- 
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] dachuan9e commented on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
dachuan9e commented on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-966271754


   @linghengqian Yes, you'r right. Here it means the opentracing plugin in shardingsphere agent and skywalking agent cannot be used at same time.  Welcome you to do some contribution if you'd like.


-- 
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] penghuazhou edited a comment on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968510030


   @linghengqian, Can I use observability function in shardingsphere-proxy 5.0.0?
   
   ![image](https://user-images.githubusercontent.com/13001038/141718857-07180e09-20c3-46af-81f3-d731aa294fc5.png)
   


-- 
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] terrymanu closed issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553


   


-- 
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] penghuazhou commented on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968604136


   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] linghengqian commented on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-966280188


   > @linghengqian Yes, you'r right. Here it means the opentracing plugin in shardingsphere agent and skywalking agent cannot be used at same time. Welcome you to do some contribution if you'd like.
   
   I'm sorry that my time schedule is not convenient for me to deal with it. Can you assign another Contributor to do this?


-- 
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] penghuazhou commented on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou commented on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968510030


   @linghengqian, Can I use observability function in shardingsphere-proxy 5.0.0?
   
   ![image](https://user-images.githubusercontent.com/13001038/141718857-07180e09-20c3-46af-81f3-d731aa294fc5.png)
   


-- 
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] linghengqian commented on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
linghengqian commented on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968543673


   @penghuazhou 
   Hi, I am sorry that I have no experience in using `ShardingSphere Agent`. As far as I know, `skywalking` automatic probe, `OpenTracing` protocol and `OpenTelemetry` protocol are three unrelated APM implementations, and before `5.0. 0-beta`There is no issue that cannot use the APM function.
   Because the documentation of the `master` branch is different from the documentation of the `5.0.0` branch, if you are a Chinese developer, I think you can go to https://shardingsphere.apache.org/document/5.0.0/cn/features/governance/observability/ Go find the answer.
   Mention issues unrelated to the subject under unrelated issues, I think it is inconvenient for later searchers to retrieve. I think you can create an issue with `question` with `type`, attach the steps to reproduce the issue, and use The `markdown` syntax covers code blocks. I believe friends in the community who are familiar with `shardingsphere agent` will help you.


-- 
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] penghuazhou edited a comment on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968510030


   @linghengqian, Can I use open observability function in shardingsphere-proxy 5.0.0?
   
   ![image](https://user-images.githubusercontent.com/13001038/141718857-07180e09-20c3-46af-81f3-d731aa294fc5.png)
   


-- 
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] penghuazhou edited a comment on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968510030


   @linghengqian, Can I use observability function in shardingsphere-proxy 5.0.0?
   
   It can not work when i use shardingsphere-agent, the error message is below.
   I use shardingsphere-agent refer to https://www.bookstack.cn/read/apache-shardingsphere-5.0.0-zh/463122.
   
   [ERROR] 2021-11-15 11:31:49.599 [main] o.a.s.a.c.b.listener.LoggingListener -
    Failed to instrument org.apache.shardingsphere.infra.metadata.schema.builder
   .loader.dialect.OracleTableMetaDataLoader
   java.lang.NullPointerException: null
           at org.apache.shardingsphere.agent.core.plugin.ApmPluginLoader$1.matc
   hes(ApmPluginLoader.java:134)
           at org.apache.shardingsphere.agent.core.plugin.ApmPluginLoader$1.matc
   hes(ApmPluginLoader.java:130)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$RawMatcher$ForElementMatchers.matches(AgentBuilder.java:1828)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.doTransform(AgentBuilder.java:1133
   9)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:11298)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.access$1700(AgentBuilder.java:1101
   6)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   
   ![image](https://user-images.githubusercontent.com/13001038/141718857-07180e09-20c3-46af-81f3-d731aa294fc5.png)
   


-- 
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] penghuazhou edited a comment on issue #13553: Is `ShardingSphere agent` built-in in `Proxy`?

Posted by GitBox <gi...@apache.org>.
penghuazhou edited a comment on issue #13553:
URL: https://github.com/apache/shardingsphere/issues/13553#issuecomment-968510030


   @linghengqian, Can I use observability function in shardingsphere-proxy 5.0.0 or shardingsphere-proxy 5.0.0-beta?
   
   It can not work when i use shardingsphere-agent, the error message is below.
   I use shardingsphere-agent refer to https://www.bookstack.cn/read/apache-shardingsphere-5.0.0-zh/463122.
   
   [ERROR] 2021-11-15 11:31:49.599 [main] o.a.s.a.c.b.listener.LoggingListener -
    Failed to instrument org.apache.shardingsphere.infra.metadata.schema.builder
   .loader.dialect.OracleTableMetaDataLoader
   java.lang.NullPointerException: null
           at org.apache.shardingsphere.agent.core.plugin.ApmPluginLoader$1.matc
   hes(ApmPluginLoader.java:134)
           at org.apache.shardingsphere.agent.core.plugin.ApmPluginLoader$1.matc
   hes(ApmPluginLoader.java:130)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$RawMatcher$ForElementMatchers.matches(AgentBuilder.java:1828)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.doTransform(AgentBuilder.java:1133
   9)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:11298)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   .AgentBuilder$Default$ExecutingTransformer.access$1700(AgentBuilder.java:1101
   6)
           at org.apache.shardingsphere.dependencies.net.bytebuddy.agent.builder
   
   ![image](https://user-images.githubusercontent.com/13001038/141718857-07180e09-20c3-46af-81f3-d731aa294fc5.png)
   


-- 
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