You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/31 07:17:00 UTC

[GitHub] [skywalking] jzdayz opened a new issue #6111: apm-trace-ignore-plugin not working on undertow

jzdayz opened a new issue #6111:
URL: https://github.com/apache/skywalking/issues/6111


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [x] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   ![image](https://user-images.githubusercontent.com/35563513/103398967-e2047100-4b79-11eb-903b-878b60c22791.png)
   
   I want to hide the endpoint as /ping
   
   Before that, I used
   spring-boot-stater-tomcat and is worked, but when I switch to undertow I found that this configuration not working,how can i do that?
   
   config/apm-trace-ignore-plugin.config
   ```config
   trace.ignore_path=/ping,/instances,/actuator/**
   ```
   plugins
   ```
   -rw-rw-r-- 1 root root 21274 Nov 29 14:54 apm-activemq-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17432 Nov 29 15:00 apm-armeria-0.84.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 25519 Nov 29 15:00 apm-armeria-0.85.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15471 Nov 29 15:05 apm-asynchttpclient-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 25758 Nov 29 15:02 apm-avro-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 18949 Nov 29 14:56 apm-canal-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 24566 Nov 29 14:58 apm-cassandra-java-driver-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 19399 Nov 29 15:06 apm-cxf-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15961 Nov 29 14:57 apm-dubbo-2.7.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 13197 Nov 29 14:35 apm-dubbo-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 28217 Nov 29 14:59 apm-ehcache-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12747 Nov 29 14:51 apm-elastic-job-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12833 Nov 29 14:51 apm-elastic-job-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 36974 Nov 29 14:54 apm-elasticsearch-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 78239 Nov 29 14:55 apm-elasticsearch-6.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 22983 Nov 29 14:39 apm-feign-default-http-9.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 50429 Nov 29 15:02 apm-finagle-6.25.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 34455 Nov 29 14:48 apm-grpc-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 22216 Nov 29 14:50 apm-h2-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 14651 Nov 29 15:04 apm-hbase-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 28476 Nov 29 14:52 apm-httpasyncclient-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 13828 Nov 29 15:01 apm-httpclient-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 20596 Nov 29 14:36 apm-httpClient-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 10201 Nov 29 14:36 apm-httpclient-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 31398 Nov 29 14:53 apm-hystrix-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17573 Nov 29 15:03 apm-influxdb-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 98496 Nov 29 14:36 apm-jdbc-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 28525 Nov 29 14:37 apm-jedis-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 13365 Nov 29 14:46 apm-jetty-client-9.0-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 13338 Nov 29 14:45 apm-jetty-client-9.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 18399 Nov 29 14:45 apm-jetty-server-9.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 11696 Nov 29 14:43 apm-kafka-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 39572 Nov 29 14:52 apm-kafka-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 32315 Nov 29 15:01 apm-lettuce-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15098 Nov 29 14:59 apm-light4j-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 31890 Nov 29 15:03 apm-mariadb-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 34230 Nov 29 14:52 apm-mongodb-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 37903 Nov 29 14:38 apm-mongodb-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 24637 Nov 29 14:38 apm-mongodb-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17246 Nov 29 15:06 apm-mssql-jdbc-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17644 Nov 29 15:06 apm-mssql-jtds-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 30947 Nov 29 14:49 apm-mysql-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 32572 Nov 29 14:49 apm-mysql-6.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 27582 Nov 29 14:50 apm-mysql-8.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 20165 Nov 29 14:49 apm-mysql-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 22531 Nov 29 15:00 apm-netty-socketio-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17001 Nov 29 14:44 apm-nutz-http-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15931 Nov 29 14:45 apm-nutz-mvc-annotation-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 27742 Nov 29 14:39 apm-okhttp-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 16453 Nov 29 15:01 apm-play-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 47024 Nov 29 14:50 apm-postgresql-8.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 26961 Nov 29 14:59 apm-pulsar-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12885 Nov 29 15:02 apm-quasar-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 21158 Nov 29 14:56 apm-rabbitmq-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 22780 Nov 29 14:37 apm-redisson-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 35320 Nov 29 14:40 apm-resttemplate-4.3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 31485 Nov 29 14:50 apm-rocketmq-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 31423 Nov 29 14:51 apm-rocketmq-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17516 Nov 29 14:53 apm-servicecomb-java-chassis-0.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17785 Nov 29 14:53 apm-servicecomb-java-chassis-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 19147 Nov 29 14:46 apm-sharding-jdbc-1.5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 22515 Nov 29 14:47 apm-sharding-sphere-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 23622 Nov 29 14:47 apm-shardingsphere-4.0.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 23639 Nov 29 14:48 apm-sharding-sphere-4.1.0-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 23595 Nov 29 14:47 apm-sharding-sphere-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 23779 Nov 29 14:47 apm-sharding-sphere-4.x-rc3-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 22127 Nov 29 14:58 apm-solrj-7.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 13218 Nov 29 14:39 apm-spring-async-annotation-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 11590 Nov 29 14:41 apm-spring-cloud-feign-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 11599 Nov 29 14:41 apm-spring-cloud-feign-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 27946 Nov 29 14:40 apm-spring-concurrent-util-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 28057 Nov 29 14:42 apm-spring-core-patch-8.3.0.jar
   -rw-rw-r-- 1 root root 14014 Nov 29 14:43 apm-spring-kafka-1.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 14789 Nov 29 14:43 apm-spring-kafka-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 21107 Nov 29 14:42 apm-springmvc-annotation-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 25545 Nov 29 14:41 apm-springmvc-annotation-4.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 29833 Nov 29 14:42 apm-springmvc-annotation-5.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 37628 Nov 29 14:40 apm-springmvc-annotation-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 16869 Nov 29 14:43 apm-spring-scheduled-annotation-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15299 Nov 29 14:46 apm-spymemcached-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12993 Nov 29 14:44 apm-struts2-2.x-plugin-8.3.0.jar
   -rw-r--r-- 1 root root 15925 Dec 25 15:43 apm-trace-ignore-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 34305 Nov 29 14:55 apm-undertow-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 84562 Nov 29 14:57 apm-vertx-core-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 21607 Nov 29 14:48 apm-xmemcached-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 24632 Nov 29 15:05 apm-xxl-job-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 16911 Nov 29 15:03 baidu-brpc-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15394 Nov 29 15:06 dbcp-2.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17425 Nov 29 14:57 dubbo-2.7.x-conflict-patch-8.3.0.jar
   -rw-rw-r-- 1 root root 17156 Nov 29 14:56 dubbo-conflict-patch-8.3.0.jar
   -rw-rw-r-- 1 root root 12452 Nov 29 15:04 graphql-12.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12884 Nov 29 15:04 graphql-8.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 12463 Nov 29 15:04 graphql-9.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17748 Nov 29 14:38 motan-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 15860 Nov 29 14:58 resteasy-server-3.x-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 17307 Nov 29 14:54 sofa-rpc-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root  8702 Nov 29 14:40 spring-commons-8.3.0.jar
   -rw-rw-r-- 1 root root 19226 Nov 29 14:44 spring-webflux-5.x-webclient-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 49993 Nov 29 15:05 thrift-plugin-8.3.0.jar
   -rw-rw-r-- 1 root root 23384 Nov 29 14:37 tomcat-7.x-8.x-plugin-8.3.0.jar
   ```
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   skywalking version: 8.3
   OS : centos 7.9
   JRE: 
   ```
   openjdk version "1.8.0_275"
   OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
   OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)
   ```
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] caopengan commented on issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
caopengan commented on issue #6111:
URL: https://github.com/apache/skywalking/issues/6111#issuecomment-755847359


   > In your case, I would recommend you to remove the Undertow plugin. SpringMVC plugins are good enough for you. And the ignore-plugin will work after that.
   
   I also met the same problem. I did it according to the method you mentioned above, but it didn't work


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] z130q130 removed a comment on issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
z130q130 removed a comment on issue #6111:
URL: https://github.com/apache/skywalking/issues/6111#issuecomment-1067760501


   在 undertow ,统计哪里有问题如何处理呢,


-- 
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@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6111:
URL: https://github.com/apache/skywalking/issues/6111


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6111:
URL: https://github.com/apache/skywalking/issues/6111#issuecomment-752878426


   In your case, I would recommend you to remove the Undertow plugin. SpringMVC plugins are good enough for you. And the ignore-plugin will work after that.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] jzdayz commented on issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
jzdayz commented on issue #6111:
URL: https://github.com/apache/skywalking/issues/6111#issuecomment-752873960


   Spring Boot Version: 2.1.10.RELEASE


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] z130q130 commented on issue #6111: apm-trace-ignore-plugin not working on undertow

Posted by GitBox <gi...@apache.org>.
z130q130 commented on issue #6111:
URL: https://github.com/apache/skywalking/issues/6111#issuecomment-1067760501


   在 undertow ,统计哪里有问题如何处理呢,


-- 
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@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org