Re: [I] [Bug] skywalking did not work with elasitcsearch 8.13+ [skywalking]
wu-sheng closed issue #12224: [Bug] skywalking did not work with elasitcsearch 8.13+ URL: https://github.com/apache/skywalking/issues/12224 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking did not work with elasitcsearch 8.13+ [skywalking]
kezhenxu94 commented on issue #12224: URL: https://github.com/apache/skywalking/issues/12224#issuecomment-2112088716 @ldcsaa can you share how OAP failed? Looks like all tests passed in https://github.com/apache/skywalking/pull/12227 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health [skywalking]
ldcsaa commented on issue #12223: URL: https://github.com/apache/skywalking/issues/12223#issuecomment-2109972062 > We just check for port available. You could determine whether to check more. OK: ``` test: ["CMD", "curl", "-s", "http://127.0.0.1:12800;] ``` -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking did not work with elasitcsearch 8.13+ [skywalking]
wu-sheng commented on issue #12224: URL: https://github.com/apache/skywalking/issues/12224#issuecomment-2109821834 I think we don't test for that. @kezhenxu94 right? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health [skywalking]
ldcsaa commented on issue #12223: URL: https://github.com/apache/skywalking/issues/12223#issuecomment-2109777883 > Yes, we don't provide this in the image anymore. Are you using the old compose file? I will start `skywalking-ui` after skywalking OAP server started succ. So I need to check skywalking health, these is my code: ``` skywalking: depends_on: elasticsearch: condition: service_healthy container_name: "skywalking" healthcheck: test: ["CMD", "/skywalking/bin/swctl", "health"] interval: 30s timeout: 10s retries: 5 start_period: 90s environment: - "SW_TELEMETRY=prometheus" - "SW_OTEL_RECEIVER=default" - "SW_OTEL_RECEIVER_ENABLED_OTEL_METRICS_RULES=oap" - "SW_HEALTH_CHECKER=default" - "SW_HEALTH_CHECKER_INTERVAL_SECONDS=30" - "SW_CORE_GRPC_PORT=11800" - "SW_TELEMETRY_PROMETHEUS_PORT=1234" - "SW_STORAGE=elasticsearch" - "SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200" - "SW_CORE_REST_PORT=12800" - "JAVA_OPTS=-Xms256m -Xmx512m" image: "registry.cn-hangzhou.aliyuncs.com/jessma/apache-skywalking:10.0.0" networks: - "soa-net" ports: - "11800:11800/tcp" - "1234:1234/tcp" - "12800:12800/tcp" volumes: - "./apache-skywalking/config/alarm-settings.yml:/skywalking/config/alarm-settings.yml" - "./apache-skywalking/config/application.yml:/skywalking/config/application.yml" working_dir: "/skywalking" skywalking-ui: depends_on: skywalking: condition: service_healthy container_name: "skywalking-ui" environment: - "SW_SERVER_PORT=8080" - "SW_OAP_ADDRESS=http://skywalking:12800; - "SW_TIMEOUT=1" - "JAVA_OPTS=-Xms128m -Xmx256m" image: "registry.cn-hangzhou.aliyuncs.com/jessma/apache-skywalking-ui:10.0.0" networks: - "soa-net" ports: - "8787:8080/tcp" volumes: - "./apache-skywalking-ui/webapp/application.yml:/skywalking/webapp/application.yml" ``` -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health [skywalking]
wu-sheng closed issue #12223: [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health URL: https://github.com/apache/skywalking/issues/12223 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking did not work with elasitcsearch 8.13+ [skywalking]
ldcsaa opened a new issue, #12224: URL: https://github.com/apache/skywalking/issues/12224 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened skywalking would start fail, while uses `elasticsearch 8.13.x` as backend storage, and it's OK while uses `elasticsearch 8.12.x` as backend storage ### What you expected to happen Is OK while uses `elasticsearch 8.13.x` as backend storage. ### How to reproduce just start skywalking uses `elasticsearch 8.13.x` as backend storage. ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health [skywalking]
wu-sheng commented on issue #12223: URL: https://github.com/apache/skywalking/issues/12223#issuecomment-2109770754 Yes, we don't provide this in the image anymore. Are you using the old compose file? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking 10 did not provides "/skywalking/bin/swctl", then can not check health [skywalking]
ldcsaa opened a new issue, #12223: URL: https://github.com/apache/skywalking/issues/12223 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened In skywalking 9.7.0 and before, uses these codes to check health in docker compose, but skywalking 10+, did not provides these tools: ``` services: skywalking: depends_on: elasticsearch: condition: service_healthy container_name: "skywalking" healthcheck: test: ["CMD", "/skywalking/bin/swctl", "health"] interval: 30s timeout: 10s retries: 5 start_period: 90s ``` ### What you expected to happen provides tool: `/skywalking/bin/swctl` ### How to reproduce just check the dir ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
dashanji closed issue #12040: [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. URL: https://github.com/apache/skywalking/issues/12040 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
dashanji commented on issue #12040: URL: https://github.com/apache/skywalking/issues/12040#issuecomment-2107693144 Fix in https://github.com/apache/skywalking-helm/pull/146 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
wu-sheng commented on issue #12040: URL: https://github.com/apache/skywalking/issues/12040#issuecomment-2107585227 @ButterBright How about this one? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-java maven build problem [skywalking]
JoeCqupt closed issue #12218: [Bug] skywalking-java maven build problem URL: https://github.com/apache/skywalking/issues/12218 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-java maven build problem [skywalking]
JoeCqupt opened a new issue, #12218: URL: https://github.com/apache/skywalking/issues/12218 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened i find that maven build `skywalking-java` some module will compiler fail. * org.apache.skywalking:apm-toolkit-log4j-2.x-activation:jar:9.3.0-SNAPSHOT * gateway-2.0.x-plugin * gateway-2.1.x-plugin ### What you expected to happen maven build success ### How to reproduce ``` @MacintoshdeMacBook-Pro-2 skywalking-java % mvn -v Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39) Maven home: /Users//dev-tools/apache-maven-3.8.8 Java version: 17.0.6, vendor: Oracle Corporation, runtime: /Users//dev-tools/jdk-17.0.6.jdk/Contents/Home Default locale: zh_CN_#Hans, platform encoding: UTF-8 OS name: "mac os x", version: "14.2.1", arch: "aarch64", family: "mac" @MacintoshdeMacBook-Pro-2 skywalking-java % mvn clean install ``` https://github.com/apache/skywalking/assets/12369652/25f3116a-c8db-430b-bac8-a7f5d9424595;> ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [X] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-skywalking-helm-oap not started(keep restarting) [skywalking]
wu-sheng closed issue #12172: [Bug] skywalking-skywalking-helm-oap not started(keep restarting) URL: https://github.com/apache/skywalking/issues/12172 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-skywalking-helm-oap not started(keep restarting) [skywalking]
wangchao732 opened a new issue, #12172: URL: https://github.com/apache/skywalking/issues/12172 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened helm install "${SKYWALKING_RELEASE_NAME}" oci://registry-1.docker.io/apache/skywalking-helm --version "${SKYWALKING_RELEASE_VERSION}" -n "${SKYWALKING_RELEASE_NAMESPACE}" --set oap.image.tag=9.6.0 --set oap.storageType=elasticsearch --set ui.image.tag=9.6.0 ### What you expected to happen ![image](https://github.com/apache/skywalking/assets/19440083/375f672e-8693-4002-8a10-46934cf4cd0a) The logs show that this will restart ### How to reproduce null ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
OrezzerO commented on issue #12157: URL: https://github.com/apache/skywalking/issues/12157#issuecomment-2074441206 Move to discussion :https://github.com/apache/skywalking/discussions/12158 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng commented on issue #12157: URL: https://github.com/apache/skywalking/issues/12157#issuecomment-2074418334 No title, and this should be a discussion. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng closed issue #12157: [Bug] URL: https://github.com/apache/skywalking/issues/12157 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
OrezzerO opened a new issue, #12157: URL: https://github.com/apache/skywalking/issues/12157 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened I try to run oap server in docker with mysql as storage. Here is my docker compose file: ```yml version: '2.1' services: oap: image: apache/skywalking-oap-server:9.6.0-java17 networks: - skywalking environment: SW_OTEL_RECEIVER: default SW_OTEL_RECEIVER_ENABLED_OTEL_METRICS_RULES: vm TZ: Asia/Shanghai SW_STORAGE: mysql SW_JDBC_URL: jdbc:mysql://xxx:3306/sw SW_DATA_SOURCE_USER: SW_DATA_SOURCE_PASSWORD: JAVA_OPTS: -Xms4G -Xmx4G volumes: - ./mysql-connector-j-8.0.32.jar:/skywalking/oap-libs/mysql-connector-j-8.0.32.jar ports: - "1234:1234" - "11800:11800" - "12800:12800" oap-ui: image: apache/skywalking-ui:9.6.0-java17 networks: - skywalking environment: SW_OAP_ADDRESS: http://oap:12800 JAVA_OPTS: -Xms2G -Xmx2G ports: - "8080:8080" networks: skywalking: ``` I create a database `sw` in mysql . When i run `docker compose up` , oap log says `SELECT command denied to user ''@'xxx' for table ''`. Each time when i run `docker compose up` table name changes. I go to mysql and check. table exists. It seems that select command is executed async and before table is created. Now I am running `docker compose up` and `docker compose down` repeatedly. Each round can create one or two new table . ### What you expected to happen 1. Tables can be created once .and i do not need to restart container. ### How to reproduce run my docker compose ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking agent failed to start if using kafka protocol with sasl_mechanism=PLAIN. [skywalking]
wu-sheng commented on issue #12131: URL: https://github.com/apache/skywalking/issues/12131#issuecomment-2063847458 Please send a pull request when you are ready. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
tsonglew opened a new issue, #12131: URL: https://github.com/apache/skywalking/issues/12131 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Python Agent (apache/skywalking-python) ### What happened SkyWalking agent failed to start if using kafka protocol with sasl_mechanism=PLAIN. ### What you expected to happen SkyWalking agent starts successfully when using kafka protocol with sasl_mechanism=PLAIN. ### How to reproduce run a gunicorn app with a command like ```sh SW_AGENT_PROTOCOL=kafka \ SW_KAFKA_BOOTSTRAP_SERVERS=localhost:9092 \ SW_KAFKA_REPORTER_CONFIG_security_protocol=SASL_PLAINTEXT \ SW_KAFKA_REPORTER_CONFIG_sasl_mechanism=PLAIN \ SW_KAFKA_REPORTER_CONFIG_sasl_plain_username= \ SW_KAFKA_REPORTER_CONFIG_sasl_plain_password= \ SW_AGENT_NAME=demo::gunicorn \ sw-python -d run -p gunicorn main:app ``` ### Anything else The agent failed to start with AttributeError: 'SkyWalkingAgent' object has no attribute '_SkyWalkingAgent__log_queue' Using kafka protocol with sasl_mechanism=PLAIN leads to "log.warning('%s: Sending username and password in the clear', self)". https://github.com/dpkp/kafka-python/blob/a6d0579d3cadd3826dd364b01bc12a2173139abc/kafka/conn.py#L624 the logging module was replaced by sw_logging, but __log_queue was not initialized yet ### Are you willing to submit a pull request to fix on your own? - [X] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
junit commented on issue #12040: URL: https://github.com/apache/skywalking/issues/12040#issuecomment-2044752105 Have you solved 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
wu-sheng commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2044182596 > > > > > > > This doesn't make sense as this is a "skywalking" showcase, we don't bother to make it work without skywalking > > > > > > Sorry, my expression was not very clear. > > My meaning is, some people (including myself) may want to import data into an external OAP, rather than using a single-node. That is not showcase. We don't need to consider 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. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
yswdqz commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2044181523 > > This doesn't make sense as this is a "skywalking" showcase, we don't bother to make it work without skywalking Sorry, my expression was not very clear. My meaning is, some people (including myself) may want to import data into an external OAP, rather than using a single-node. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
kezhenxu94 commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2042719467 > > Can you elaborate? OAP is required to be up and running for those components that need to talk to OAP, in your > > screenshot, the vm exporter needs to send data to OAP so it needs to wait for OAP's readiness > > Maybe we just need VM-monitor feature, and I just want run with "make deploy.docker FEATURE_FLAGS=vm"(not FEATURE_FLAGS=vm,single-node) This doesn't make sense as this is a "skywalking" showcase, we don't bother to make it work without skywalking -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
yswdqz commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2042009921 > Can you elaborate? OAP is required to be up and running for those components that need to talk to OAP, in your > screenshot, the vm exporter needs to send data to OAP so it needs to wait for OAP's readiness Maybe we just need VM-monitor feature, and I just want run with "make deploy.docker FEATURE_FLAGS=vm"(not FEATURE_FLAGS=vm,single-node) -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
yswdqz commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2042004975 Yes, but I might not have much time recently. I'll submit the PR over the weekend. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
kezhenxu94 commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2041994460 > 1. rocketmq-feature seems incorrect: > > https://private-user-images.githubusercontent.com/74546965/320372769-453f26fe-2486-4fa0-92f3-efe43e21599d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1NTkyNTksIm5iZiI6MTcxMjU1ODk1OSwicGF0aCI6Ii83NDU0Njk2NS8zMjAzNzI3NjktNDUzZjI2ZmUtMjQ4Ni00ZmEwLTkyZjMtZWZlNDNlMjE1OTlkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA4VDA2NDkxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjM2IzOWJjNmFhZWUyYWRlN2E4YTJlZmM1YmQ0NDU0MGQ2OTE4NGRhMjk4Y2I3NzQxMzQwNzJhMTg0MjdlM2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lquFeeCdN7A5JyD69XwqxEIW-BC6ZnF-uNx7Ukeo_Oc;> I believe that a feature should utilize a common OAP(such as single-node) instead of spinning up a new one. Additionally, there are issues with the configuration of this OAP. Nice catch! I think we can fix this by simply removing the OAP section in this docker compose file. > 2. whether we need to expose this port? > > https://private-user-images.githubusercontent.com/74546965/320374139-9090f8f7-aeda-4b8e-9cec-87f22c302de3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1NTkyNTksIm5iZiI6MTcxMjU1ODk1OSwicGF0aCI6Ii83NDU0Njk2NS8zMjAzNzQxMzktOTA5MGY4ZjctYWVkYS00YjhlLTljZWMtODdmMjJjMzAyZGUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA4VDA2NDkxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwN2FjYjNhNDkxOGJkM2RiMjQ0ZmU5MjEyOThiM2M3NDg1ZmQ2NjdkZDYzYThmYjFjNWU3ZDE4ZTM0OWEyZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L4B8mNfInUIeT3AXJJJAjXCPflqEzUvEVw4sTdEBDvM;> This is not mandatory as we have a loadgen to trigger traffic, however, if users want to manually trigger traffic, they can open this port in their browser. > 3. oap dependency > > https://private-user-images.githubusercontent.com/74546965/320374564-974c244e-d217-434f-b9f0-bf8a3b1c5915.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1NTkyNTksIm5iZiI6MTcxMjU1ODk1OSwicGF0aCI6Ii83NDU0Njk2NS8zMjAzNzQ1NjQtOTc0YzI0NGUtZDIxNy00MzRmLWI5ZjAtYmY4YTNiMWM1OTE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA4VDA2NDkxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyYmM5YjMxODliMDdlZWMwNjFiNmYwZDFkYzU4YmZmNTRjZGQwNjAyZGNlY2MzY2E1ZjIyMTc0OTk0OWEzN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sMEVeL07fpF7ged9QCTAQbV84xJDdtCoQwBFioGvtwI;> Some feature depend on oap. However, in some cases, we only need these services and do not require the built-in OAP. Can you elaborate? OAP is required to be up and running for those components that need to talk to OAP, in your screenshot, the vm exporter needs to send data to OAP so it needs to wait for OAP's readiness. > and also, some config files use oap as host: https://private-user-images.githubusercontent.com/74546965/320376116-8cd4c623-9394-482b-8755-3ddbc130c116.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1NTkyNTksIm5iZiI6MTcxMjU1ODk1OSwicGF0aCI6Ii83NDU0Njk2NS8zMjAzNzYxMTYtOGNkNGM2MjMtOTM5NC00ODJiLTg3NTUtM2RkYmMxMzBjMTE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA4VDA2NDkxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4MDM2NzY0N2JjMzc5ODkxNTE1YWNjMGNmYjI2NmMxYjRhZDM2OWM4YTY5NDlkYjhjMmEyZjhjZTZmOWIyMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WsRYZXCM1anjGoGiBEoJNxbksBO11I3hEqhWz3KnZcI;> so we can't easily edit Makefile to change oap address. Good catch, this can be replace with the env var `BACKEND_SERVICE`. Will you file a pull request @yswdqz ? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
wu-sheng commented on issue #12077: URL: https://github.com/apache/skywalking/issues/12077#issuecomment-2041975023 @kezhenxu94 Could you guide @yswdqz about this? We may need to polish showcase. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-showcase docker deployment has some incorrect parts [skywalking]
yswdqz opened a new issue, #12077: URL: https://github.com/apache/skywalking/issues/12077 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Showcase (apache/skywalking-showcase) ### What happened 1. rocketmq-feature seems incorrect: https://github.com/apache/skywalking/assets/74546965/453f26fe-2486-4fa0-92f3-efe43e21599d;> I believe that a feature should utilize a common OAP(such as single-node) instead of spinning up a new one. Additionally, there are issues with the configuration of this OAP. 2. whether we need to expose this port? https://github.com/apache/skywalking/assets/74546965/9090f8f7-aeda-4b8e-9cec-87f22c302de3;> 3. oap dependency https://github.com/apache/skywalking/assets/74546965/974c244e-d217-434f-b9f0-bf8a3b1c5915;> Some feature depend on oap. However, in some cases, we only need these services and do not require the built-in OAP. and also, some config files use oap as host: https://github.com/apache/skywalking/assets/74546965/8cd4c623-9394-482b-8755-3ddbc130c116;> so we can't easily edit Makefile to change oap address. https://github.com/apache/skywalking/assets/74546965/2ad3db87-bf2d-4b04-9b9e-5defcad7cf68;> ### What you expected to happen We can easily edit Makefile to change OAP localhost, fix rocketmq feature. ### How to reproduce None ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-backend-js :: i use "mongoose": "^8.2.2", got error: Error installing plugin mongodb * /usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js [skywalking]
kezhenxu94 closed issue #12038: [Bug] skywalking-backend-js :: i use "mongoose": "^8.2.2", got error: Error installing plugin mongodb * /usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js URL: https://github.com/apache/skywalking/issues/12038 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-backend-js :: i use "mongoose": "^8.2.2", got error: Error installing plugin mongodb * /usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js [skywalking]
kezhenxu94 commented on issue #12038: URL: https://github.com/apache/skywalking/issues/12038#issuecomment-2026550121 ``` { message: 'Error installing plugin mongodb *', level: 'error', file: '/usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js' } ``` Failing to install `mongodb` plugin is harmless because you are using mongoose, and I can still get access to MongoDB via mongoose, please check your code whether works without skywalking. I can successfully manipulate the MongoDB server with mongoose even the error occurs. # Start MongoDB Server ```shell docker run -it --rm -p 27017:27017 mongo:6 ``` # Start SkyWalking OAP ```shell docker run --name oap -p 11800:11800 apache/skywalking-oap-server:9.7.0 ``` # Create npm project ```shell mkdir repro && cd repro cat < package.json { "name": "mongo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "dev": "node index.js" }, "author": "", "license": "ISC", "dependencies": { "mongoose": "^8.2.4", "skywalking-backend-js": "^0.7.0" } } EOF cat < index.js const { default: agent } = require('skywalking-backend-js'); const mongoose = require('mongoose'); agent.start(); main().catch(err => console.log(err)); async function main() { await mongoose.connect('mongodb://127.0.0.1:27017/test'); const kittySchema = new mongoose.Schema({ name: String }); const Cat = mongoose.model('Cat', { name: String }); const kitty = new Cat({ name: 'Zildjian' }); kitty.save().then(() => console.log('meow')); } EOF ``` # Run the app ```shell yarn run dev ``` And you'll see `meow` is printed, if you query the mongodb server directly `db.cats.find()`, you'll see the record is saved into mongodb. If you want to report further issue, please, provide detailed reproducible steps like what you see above. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug]Skywalking-ui:9.1.0 white screen [skywalking]
viccP commented on issue #9330: URL: https://github.com/apache/skywalking/issues/9330#issuecomment-2024704789 > ``` > environment: > TZ: Asia/Shanghai > SW_OAP_ADDRESS: http://skywalking-oap:12800 > ``` > > I add the `http//` prefix finally make it it's work,I just try -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
wu-sheng commented on issue #12040: URL: https://github.com/apache/skywalking/issues/12040#issuecomment-2006072909 This is addressed helm needs a new release and align with swck latest updates, e.g. CRD. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
wu-sheng commented on issue #12040: URL: https://github.com/apache/skywalking/issues/12040#issuecomment-2005842770 We need to check whether this is a SWCK issue or helm repo or banyandb helm repository. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] SkyWalking Operator helm does not yet include the CRD for BanyanDB. [skywalking]
yswdqz opened a new issue, #12040: URL: https://github.com/apache/skywalking/issues/12040 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Helm Chart (apache/skywalking-helm) ### What happened When installing the SWCK operator using Helm, a CRD called 'BanyanDB' is required. However, this CRD is not directly provided in the Helm charts. Currently, it can only be installed by executing make -C operator install from the root path of SWCK. https://github.com/apache/skywalking/assets/74546965/07b58cbf-8079-4aea-8efa-50de6ad3851c;> ### What you expected to happen 'BanyanDB' crd will automaticly install when we install the SWCK operator using Helm. ### How to reproduce Installing the SWCK operator using Helm without running make install in the SWCK root directory. ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-backend-js :: i use "mongoose": "^8.2.2", got error: Error installing plugin mongodb * /usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js [skywalking]
liuqixing opened a new issue, #12038: URL: https://github.com/apache/skywalking/issues/12038 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component NodeJS Server Side Agent (apache/skywalking-nodejs) ### What happened i use "mongoose": "^8.2.2", got error, and can not access my mongodb any more { message: 'Error installing plugin mongodb *', level: 'error', file: '/usr/src/app/node_modules/skywalking-backend-js/lib/core/PluginInstaller.js' } ### What you expected to happen can not access my mongodb any more ### How to reproduce can not access my mongodb any more ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng commented on issue #11965: URL: https://github.com/apache/skywalking/issues/11965#issuecomment-1972690415 8.15 is a very old thing. And if you have plugin issues to discuss, open a discussion rather than an issue. SkyWalking maintainer is not keeping eyes on all plugins. It is impossible -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng closed issue #11965: [Bug] URL: https://github.com/apache/skywalking/issues/11965 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
sun8782525 opened a new issue, #11965: URL: https://github.com/apache/skywalking/issues/11965 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened skywalking-agent-8.15.0 druid-1.1.16 ERROR 2024-02-29 22:21:45.544 localhost-startStop-1 SkyWalkingAgent : Enhance class com.mysql.jdbc.StatementImpl error. org.apache.skywalking.apm.dependencies.net.bytebuddy.pool.TypePool$Resolution$NoSuchTypeException: Cannot resolve type description for com.navercorp.pinpoint.bootstrap.plugin.jdbc.DatabaseInfoAccessor at org.apache.skywalking.apm.dependencies.net.bytebuddy.pool.TypePool$Resolution$Illegal.resolve(TypePool.java:167) at org.apache.skywalking.apm.dependencies.net.bytebuddy.pool.TypePool$Default$WithLazyResolution$LazyTypeDescription.delegate(TypePool.java:1088) at org.apache.skywalking.apm.dependencies.net.bytebuddy.description.type.TypeDescription$AbstractBase$OfSimpleType$WithDelegation.getInterfaces(TypeDescription.java:8442) at org.apache.skywalking.apm.dependencies.net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getInterfaces(TypeDescription.java:3693) at org.apache.skywalking.apm.agent.core.plugin.match.HierarchyMatch.matchHierarchyClass(HierarchyMatch.java:88) at org.apache.skywalking.apm.agent.core.plugin.match.HierarchyMatch.isMatch(HierarchyMatch.java:71) at org.apache.skywalking.apm.agent.core.plugin.PluginFinder.find(PluginFinder.java:83) at org.apache.skywalking.apm.agent.SkyWalkingAgent$Transformer.transform(SkyWalkingAgent.java:164) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.doTransform(AgentBuilder.java:12104) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:12041) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.access$1800(AgentBuilder.java:11758) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$LegacyVmDispatcher.run(AgentBuilder.java:12441) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$LegacyVmDispatcher.run(AgentBuilder.java:12381) at java.security.AccessController.doPrivileged(Native Method) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.doPrivileged(AgentBuilder.java) at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:11950) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
wu-sheng closed issue #11932: [Bug] skywalking-go sdk panic URL: https://github.com/apache/skywalking/issues/11932 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
wu-sheng commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963809762 Convert to the discussion as it is not the official way to work. Reach Alicloud as they suggest you to do so. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
wu-sheng commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963806792 Then why asking us? We don't pormise this works. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
Donghui0 commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963804236 > Why to open telemetry rather than OAP? > > #11916 > > That collector is not recommended to use. This component is not used. The overall architecture is based on opentelmetry. It looks like: ![image](https://github.com/apache/skywalking/assets/7134928/934438ba-2dae-41d8-8ef9-fd97084db6ba) -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
wu-sheng commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963791055 Why to open telemetry rather than OAP? https://github.com/apache/skywalking/discussions/11916 That collector is not recommended to use. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
Donghui0 commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963783988 > Could you help to adding a demo in there? It looks like a gRPC/protobuf error. GRPC Server is an Opentelmetry skywalking receiver. opentelementry: 0.90 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
mrproliu commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963737043 Could you help to adding a demo in there? It looks like a gRPC/protobuf error. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go sdk panic [skywalking]
wu-sheng commented on issue #11932: URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963720644 I am not sure this stack is enough to tell what is the issue. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-go sdk panic [skywalking]
Donghui0 opened a new issue, #11932: URL: https://github.com/apache/skywalking/issues/11932 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened Sporadic panic problem: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1d pc=0x884742] goroutine 68 [running]: google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x269?}, 0xc00e220748, {0xf0?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:472 +0x42 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointerSlow(0xc000366e58, {0x21e?}, {0x3?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointer(0xc00a76adc0?, {0xc00cb22320?}, {0x58?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x2419dcb?}, 0xc00151ee60, {0x84?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:473 +0x55 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointerSlow(0xc000366d10, {0xc46077?}, {0x76?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointer(0x284?, {0xd?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x7efedb8ab1b8?}, 0xc000295990, {0x68?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:473 +0x55 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointerSlow(0xc000366a80, {0xc009e61a68?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(*MessageInfo).sizePointer(0xc009e61ad8?, {0x9?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.(*MessageInfo).size(0x40802d?, {{}, {0x286dcb8?, 0xc00bbf7950?}, 0x5?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:40 +0x52 google.golang.org/protobuf/proto.MarshalOptions.marshal({{}, 0x50?, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x286dcb8, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/proto/encode.go:156 +0x142 google.golang.org/protobuf/proto.MarshalOptions.MarshalAppend({{}, 0x60?, 0x63?, 0x1e?}, {0x0, 0x0, 0x0}, {0x285a880?, 0xc00bbf7950?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/proto/encode.go:125 +0x79 github.com/golang/protobuf/proto.marshalAppend({0x0, 0x0, 0x0}, {0x7efeb03f7900?, 0xc00bbf7950?}, 0x80?) /data/repo_cache/golang/mod/github.com/golang/protobuf@v1.5.3/proto/wire.go:40 +0xa5 github.com/golang/protobuf/proto.Marshal(...) /data/repo_cache/golang/mod/github.com/golang/protobuf@v1.5.3/proto/wire.go:23 google.golang.org/grpc/encoding/proto.codec.Marshal({}, {0x21e6360, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/encoding/proto/proto.go:45 +0x4e google.golang.org/grpc.encode({0x7efedb8b28f8?, 0x3952e88?}, {0x21e6360?, 0xc00bbf7950?}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/rpc_util.go:632 +0x44 google.golang.org/grpc.prepareMsg({0x21e6360?, 0xc00bbf7950?}, {0x7efedb8b28f8?, 0x3952e88?}, {0x0, 0x0}, {0x0, 0x0}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/stream.go:1754 +0xd2 google.golang.org/grpc.(*clientStream).SendMsg(0xc00ca3e900, {0x21e6360, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/stream.go:875 +0x1b5 skywalking.apache.org/repo/goapi/collect/language/agent/v3.(*traceSegmentReportServiceCollectClient).Send(0x2863028?, 0x2863098?) /data/repo_cache/golang/mod/skywalking.apache.org/repo/goapi@v0.0.0-20230314034821-0c5a44bb767a/collect/language/agent/v3/Tracing_grpc.pb.go:61 +0x2b github.com/apache/skywalking-go/agent/reporter.(*gRPCReporter).initSendPipeline.func1() grpc.go:323 +0x1eb created by github.com/apache/skywalking-go/agent/reporter.(*gRPCReporter).initSendPipeline grpc.go:305 +0x6a ### What you expected to happen no panic. Normal operation, no impact on business.
Re: [I] [Bug] skywalking agent randomly occupies some ports during runtime. [skywalking]
kamyuk commented on issue #11868: URL: https://github.com/apache/skywalking/issues/11868#issuecomment-1926089447 > This is by design on the gRPC side, you may can force using a source port but that is in general a limited usecase, since grpc already picks a random unused port. You normally just need to make sure you bind other specific ports in advance. 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent randomly occupies some ports during runtime. [skywalking]
Superskyyy commented on issue #11868: URL: https://github.com/apache/skywalking/issues/11868#issuecomment-1925894743 This is by design on the gRPC side, you may can force using a source port but that is in general a limited usecase, since grpc already picks a random unused port. You normally just need to make sure you bind other specific ports in advance. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent randomly occupies some ports during runtime. [skywalking]
wu-sheng closed issue #11868: [Bug] skywalking agent randomly occupies some ports during runtime. URL: https://github.com/apache/skywalking/issues/11868 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent randomly occupies some ports during runtime. [skywalking]
wu-sheng commented on issue #11868: URL: https://github.com/apache/skywalking/issues/11868#issuecomment-1925569584 Any outbound rpc will use a random port. That is how rpc works. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking agent randomly occupies some ports during runtime. [skywalking]
kamyuk opened a new issue, #11868: URL: https://github.com/apache/skywalking/issues/11868 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened In my configuration file, there is no setting for ports 50990, 50991, and 50992. However, during runtime, I observed that SkyWalking is occupying these three ports. As a result, other services configured to use these ports are unable to start. ### What you expected to happen to fix the port setting ### How to reproduce check the TCP port occupancy ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng closed issue #11841: [Bug] URL: https://github.com/apache/skywalking/issues/11841 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng commented on issue #11841: URL: https://github.com/apache/skywalking/issues/11841#issuecomment-1914235187 If there is not a branch that matches the tag, it will be shown by this. That is a known problem of GitHub. You don't need to worry about 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. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
bbz525 opened a new issue, #11841: URL: https://github.com/apache/skywalking/issues/11841 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened ![1706518098892](https://github.com/apache/skywalking/assets/26547423/6f79b30e-9489-4a47-8a37-ce47799a72ae) tag v8.9 is not in any branch,what happen? ### What you expected to happen explain what happen,how i get the tag code? ### How to reproduce i dont know ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [X] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng closed issue #11836: [Bug] URL: https://github.com/apache/skywalking/issues/11836 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng commented on issue #11836: URL: https://github.com/apache/skywalking/issues/11836#issuecomment-1913127142 English only on GitHub. Once you changed the codes, you are on your own. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
Jerex-zh opened a new issue, #11836: URL: https://github.com/apache/skywalking/issues/11836 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened 启动一个程序使用了agent的程序,并使用修改过的skywalking-agent.jar替换agent中的jar包,如果再请求自己的程序,会因为skywalking找不到skywalking-agent.jar中的class,从而报错影响程序运行 2024-01-27 16:03:11.216 [XNIO-1 I/O-7] ERROR TID:N/A io.undertow.request - UT005071: Undertow request failed HttpServerExchange{ GET /test} java.lang.NoClassDefFoundError: org/apache/skywalking/apm/agent/core/context/ContextCarrier at org.apache.skywalking.apm.plugin.undertow.v2x.handler.TracingHandler.handleRequest(TracingHandler.java:50) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:256) at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:162) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:100) at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:57) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291) at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.nio.QueuedNioTcpServer2.acceptTask(QueuedNioTcpServer2.java:178) at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) Caused by: java.lang.ClassNotFoundException: Can't find org.apache.skywalking.apm.agent.core.context.ContextCarrier at org.apache.skywalking.apm.agent.core.plugin.loader.AgentClassLoader.findClass(AgentClassLoader.java:117) at java.lang.ClassLoader.loadClass(ClassLoader.java:419) at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ... 14 common frames omitted ### What you expected to happen 是否可以对文件进行锁定,从而更明显的提醒用户在程序运行时不建议替换skywalking-agent.jar ### How to reproduce 启动使用agent的程序之后,使用修改过的skywalking-agent.jar替换skywalking-agent.jar,然后请求自己的程序 ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wu-sheng closed issue #11820: [Bug] URL: https://github.com/apache/skywalking/issues/11820 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
YaoXina opened a new issue, #11820: URL: https://github.com/apache/skywalking/issues/11820 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened I use in docker java-agent ### What you expected to happen ERROR 2024-01-23 15:29:15.188 3a23de32c3114df5aaed5f117047f960-0-C-1 InstMethodsInter : class[class org.apache.kafka.clients.consumer.KafkaConsumer] after method[pollForFetches] intercept failure java.lang.ClassCastException: org.apache.kafka.clients.consumer.internals.Fetch incompatible with java.util.Map at org.apache.skywalking.apm.plugin.kafka.KafkaConsumerInterceptor.afterMethod(KafkaConsumerInterceptor.java:64) at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:97) at org.apache.kafka.clients.consumer.KafkaConsumer.pollForFetches(KafkaConsumer.java) at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1254) at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1227) at org.apache.kafka.clients.consumer.KafkaConsumer$$FastClassBySpringCGLIB$$11173828.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at org.apache.kafka.clients.consumer.KafkaConsumer$$EnhancerBySpringCGLIB$$262c25f1.poll() at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollConsumer(KafkaMessageListenerContainer.java:1601) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doPoll(KafkaMessageListenerContainer.java:1576) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke$original$Ndtu6fc3(KafkaMessageListenerContainer.java:1377) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke$original$Ndtu6fc3$accessor$d6AyCJFE(KafkaMessageListenerContainer.java) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer$auxiliary$LUiXHu1Q.call(Unknown Source) at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:86) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke(KafkaMessageListenerContainer.java) at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:1291) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:832) ### How to reproduce bi-server: image: /bi-base-image:2.2.0 deploy: restart_policy: condition: on-failure placement: constraints: [node.role == manager] depends_on: - bi-server-jar - bi-server-lib volumes: - ../file:/file - ../log:/logs - ../backup:/backup - ./config:/config - ../application/:/app - /data/skywalking-agent/:/home/skywalking-agent entrypoint: "sh /wait.sh -d pgsql:5432 -s 3 -c 'java -javaagent:/home/skywalking-agent/skywalking-agent.jar -Dskywalking.agent.service_name= -Dskywalking.collector.backend_service=*** -jar -Ddb.password=${DB_PASSWORD} -Dspring.profiles.active=prd -Dspring.config.additional-location=file:/config/ /app/bi-server.jar'" networks: - ${NETWORK_NAME} environment: - TZ=Asia/Shanghai ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
lujiajing1126 commented on issue #11205: URL: https://github.com/apache/skywalking/issues/11205#issuecomment-1902871724 The issue is you have to enable the optional plugin "apm-spring-webflux-5.x-plugin" If you check the test case, https://github.com/apache/skywalking-java/blob/main/test/plugin/scenarios/webflux-scenario/configuration.yml#L22, the optional plugin have been enabled. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
BothSavage commented on issue #11205: URL: https://github.com/apache/skywalking/issues/11205#issuecomment-1902224582 > ### 询问前先搜索 > * [x] [我在问题](https://github.com/apache/skywalking/issues?q=is%3Aissue)中搜索过,没有发现类似的问题。 > > ### Apache SkyWalking 组件 > Java 代理 (apache/skywalking-java) > > ### 发生了什么 > 我使用sky waling 8.16,我想跟踪webflux并获取traceId,但是报告nullpointException。 我的应用程序是webflux应用程序,并且没有使用springmvc,也不是spring cloud gateway应用程序。 1、我使用pom依赖项 1.apm-toolkit-trace 2.apm-toolkit-logback-1.x 3.apm-toolkit-webflux 2、我使用 spring-boot-starter-webflux 3.1.2 、spring-webflux 5.3.18。 比我用的 `String traceId = WebFluxSkyWalkingOperators.continueTracing(exchange, TraceContext::traceId);` 但是traceId是N/A,日志是 `ERROR 2023-08-10 14:28:14.504 reactor-http-nio-2 StaticMethodsInter : class[class org.apache.skywalking.apm.toolkit.webflux.WebFluxSkyWalkingOperators] after static method[continueTracing] intercept failure:null java.lang.NullPointerException at org.apache.skywalking.apm.agent.core.context.ContextManager.stopSpan(ContextManager.java:194) at org.apache.skywalking.apm.toolkit.activation.webflux.WebFluxSkyWalkingOperatorsInterceptor.afterMethod(WebFluxSkyWalkingO peratorsInterceptor.java:60) at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.StaticMethodsInter.intercept(StaticMethodsInter.java:94) at org.apache.skywalking.apm.toolkit.webflux.WebFluxSkyWalkingOperators.continueTracing(WebFluxSkyWalkingOperators.java) at com.zo.auth.webflux.filter.TraceFilter.filter(TraceFilter.java:79) at org.springframework.web.server.handler.DefaultWebFilterChain.invokeFilter(DefaultWebFilterChain.java:127) at org.springframework.web.server.handler.DefaultWebFilterChain.lambda$filter$0(DefaultWebFilterChain.java:121)` > > ### 您期望发生什么 > 我如何获取webflux中的traceId,我的配置错误。应该说在我的应用程序mybatis中traceid可以跟踪到日志。 > > ### 如何重现 > 你能告诉我我能做什么吗?非常感谢! > > ### 还要别的吗 > _没有反应_ > > ### 你愿意提交PR吗? > * [ ] 是的,我愿意提交 PR! > > ### 行为守则 > * [x] 我同意遵守该项目的[行为准则](https://www.apache.org/foundation/policies/conduct) https://bothsavage.github.io/article/240121-skywaking -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] [skywalking]
wangxingzhen closed issue #11769: [Bug] URL: https://github.com/apache/skywalking/issues/11769 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] [skywalking]
wangxingzhen opened a new issue, #11769: URL: https://github.com/apache/skywalking/issues/11769 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened When I build kratos, I get this error. My project has only grpc service, no http service. Is this the reason? There are more than a dozen microservices in this project directory, and I tried to add skywalking to one of them during build, but this error occurred. ➜ server git:(dev) ✗ go build -tags netgo -o service-market -toolexec "/skywalking-go/bin/skywalking-go-agent--darwin-arm64 -config /skywalking-go/tools/go-agent/config/agent.default.yaml" -a . # github.com/go-kratos/kratos/v2/transport/http /var/folders/fd/6tb4j71n3rj4tdx6scv9fj40gp/T/go-build842865790/b278/skywalking_enhance_http_client_middleware.go:38:24: tr.RequestHeader().Add undefined (type transport.Header has no field or method Add) 2024/01/14 21:59:11 exit status 2 ### What you expected to happen I Should be successfully compiled ### How to reproduce I want to know what caused this ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go enhance method reports error [skywalking]
wu-sheng closed issue #11739: [Bug] skywalking-go enhance method reports error URL: https://github.com/apache/skywalking/issues/11739 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-go enhance method reports error [skywalking]
Ruff-nono opened a new issue, #11739: URL: https://github.com/apache/skywalking/issues/11739 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened I try to develop a plugin for rocketMQ,there is an error when i build the file /tmp/go-build612827965/b348/skywalking_delegator.go:46:10: cannot use nil as ConsumeResult value in return statement /tmp/go-build612827965/b348/skywalking_delegator.go:59:9: cannot use nil as ConsumeResult value in return statement /tmp/go-build612827965/b348/skywalking_delegator.go:80:13: cannot use nil as ConsumeResult value in assignment ### What you expected to happen The enhanced method is in the`pushconsumer.go` `func (pc *pushConsumer) consumeInner(ctx context.Context, subMsgs []*primitive.MessageExt) (ConsumeResult, error)` and `type ConsumeResult int` defined in the `consumer.go`, so when FilterAndEdit -> EnhanceParameterNames, MethodEnhance.ParameterInfo.DefaultValueAsString will be "nil" because it cannot determine the real type of the custom type. ### How to reproduce the enhanced file's default return value will result in a type error when custom type is an integer such as ``` { PackagePath: "consumer", At: instrument.NewMethodEnhance("*pushConsumer", "consumeInner", instrument.WithArgsCount(2), instrument.WithArgType(0, "context.Context"), instrument.WithArgType(1, "[]*primitive.MessageExt"), instrument.WithResultCount(2), instrument.WithResultType(0, "ConsumeResult"), instrument.WithResultType(1, "error")), Interceptor: "ConsumeInnerInterceptor", } ``` and the enhanced file like ``` if invocation.isContinue { if invocation.returnValues[0] != nil { *ret_0 = (invocation.returnValues[0]).(ConsumeResult) } else { *ret_0 = nil } } ``` ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go 无法增强返回自定义类型的方法 [skywalking]
wu-sheng closed issue #11738: [Bug] skywalking-go 无法增强返回自定义类型的方法 URL: https://github.com/apache/skywalking/issues/11738 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-go 无法增强返回自定义类型的方法 [skywalking]
wu-sheng commented on issue #11738: URL: https://github.com/apache/skywalking/issues/11738#issuecomment-1882349847 Please submit an issue in English. If you need Chinese discussion, please go to Slack CN Channel. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-go 无法增强返回自定义类型的方法 [skywalking]
Ruff-nono opened a new issue, #11738: URL: https://github.com/apache/skywalking/issues/11738 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened 在开发rocketMQ插件时,报错 /tmp/go-build612827965/b348/skywalking_delegator.go:46:10: cannot use nil as ConsumeResult value in return statement /tmp/go-build612827965/b348/skywalking_delegator.go:59:9: cannot use nil as ConsumeResult value in return statement /tmp/go-build612827965/b348/skywalking_delegator.go:80:13: cannot use nil as ConsumeResult value in assignment ### What you expected to happen 增强方法func (pc *pushConsumer) consumeInner(ctx context.Context, subMsgs []*primitive.MessageExt) (ConsumeResult, error)位于pushconsumer.go 而type ConsumeResult int定义在consumer.go文件中 在FilterAndEdit -> EnhanceParameterNames时,无法判断出真实类型,DefaultValueAsString返回为"nil" ### How to reproduce 增强方法返回值为自定义类型且为int时,增强文件的返回默认值会类型错误 { PackagePath: "consumer", At: instrument.NewMethodEnhance("*pushConsumer", "consumeInner", instrument.WithArgsCount(2), instrument.WithArgType(0, "context.Context"), instrument.WithArgType(1, "[]*primitive.MessageExt"), instrument.WithResultCount(2), instrument.WithResultType(0, "ConsumeResult"), instrument.WithResultType(1, "error")), Interceptor: "ConsumeInnerInterceptor", } 增强返回如 if invocation.isContinue { if invocation.returnValues[0] != nil { *ret_0 = (invocation.returnValues[0]).(ConsumeResult) } else { *ret_0 = nil } } ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Java Agent failed to work with Arthas in some cases [skywalking]
wu-sheng closed issue #11651: [Bug] SkyWalking Java Agent failed to work with Arthas in some cases URL: https://github.com/apache/skywalking/issues/11651 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wu-sheng commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867507853 That is why your codes could be traced and monitored. Your codes are changed by the agent. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wangkang4 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867478079 > > > > Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class. > > > > > > > > > IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0 > > > > > > How to modify skywalking javaagent to support arthas hot load class command, is there a case code? > > As you may notice in [apache/skywalking-java#659](https://github.com/apache/skywalking-java/pull/659), we are still working on this topic. I suppose after that PR, we may stabilize this feature. > > Feel free to test [this PR](https://github.com/apache/skywalking-java/pull/659) for your use cases. Feedback is welcome. 为什么使用skywalking的javaagent会生成很多带有$的类?使用arthas的trace命令查看调用链,发现执行的都是那些生成的代理类. ![WechatIMG328](https://github.com/apache/skywalking/assets/52090273/9da8e7f5-2fe8-474a-9254-1c1684e459bc) ![WechatIMG326](https://github.com/apache/skywalking/assets/52090273/badeabd7-837b-41b7-82e8-3c23bbe69811) -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wangkang4 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867201628 Is arthas' redefine and retransform commands not currently supported for modifying the target class? Because skywalking's javaagent adds a few new methods to the target class. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
lujiajing1126 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867181760 > > > Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class. > > > > > > IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0 > > How to modify skywalking javaagent to support arthas hot load class command, is there a case code? As you may notice in https://github.com/apache/skywalking-java/pull/659, we are still working on this topic. I suppose after that PR, we may stabilize this feature. Feel free to test [this PR](https://github.com/apache/skywalking-java/pull/659) for your use cases. Feedback is welcome. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wangkang4 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867171301 > > Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class. > > IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0 How to modify skywalking javaagent to support arthas hot load class command, is there a case code? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wangkang4 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867168028 arthas' hot-load class file commands, such as redefine and retransform, are not currently supported by the services monitored by skywalking, right? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
lujiajing1126 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867152384 > Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class. IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wu-sheng commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867143098 We don't support it officially. As you can see on https://github.com/apache/skywalking/issues/11651, someone may have an interest in doing as best as they can. You could try that PR version. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wangkang4 commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1867128804 Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking 不支持Ignite [skywalking]
wu-sheng commented on issue #11679: URL: https://github.com/apache/skywalking/issues/11679#issuecomment-1863881280 We don't declare we support Ignite. And also, we don't debug plugins because they are from hundreds of people globally. If there is a cast issue, try to debug on your own. Also, we don't support discussions in Chinese on Github. If you have troubles in English discussion, please choose Slack CN channel. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking 不支持Ignite [skywalking]
wu-sheng closed issue #11679: [Bug] SkyWalking 不支持Ignite URL: https://github.com/apache/skywalking/issues/11679 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] SkyWalking 不支持Ignite [skywalking]
god8816 opened a new issue, #11679: URL: https://github.com/apache/skywalking/issues/11679 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component OAP server (apache/skywalking) ### What happened 项目集成Ignite没有问题,然后发布到生产环境有skywalking。报错信息: Cause: java.sql.SQLException: class org.apache.ignite.IgniteCheckedException: org.apache.skywalking.apm.plugin.jdbc.trace.SWPreparedStatement cannot be cast to org.h2.jdbc.JdbcPreparedStatement ; class org.apache.ignite.IgniteCheckedException: org.apache.skywalking.apm.plugin.jdbc.trace.SWPreparedStatement cannot be cast to org.h2.jdbc.JdbcPreparedStatement; nested exception is java.sql.SQLException: class org.apache.ignite.IgniteCheckedException: org.apache.skywalking.apm.plugin.jdbc.trace.SWPreparedStatement cannot be cast to org.h2.jdbc.JdbcPreparedStatement at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:259) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) ### What you expected to happen skywalking不支持Ignite ### How to reproduce 工程集群ignite 使用jdbc模式在skywalking环境,即可出现问题 ### Anything else 没有 ### Are you willing to submit a pull request to fix on your own? - [X] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wu-sheng commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1862314209 follow https://github.com/apache/skywalking/issues/11651 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wu-sheng closed issue #11675: [Bug] skywalking agent URL: https://github.com/apache/skywalking/issues/11675 -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking agent [skywalking]
wu-sheng commented on issue #11675: URL: https://github.com/apache/skywalking/issues/11675#issuecomment-1862313280 duplicated reported. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking agent [skywalking]
wangkang4 opened a new issue, #11675: URL: https://github.com/apache/skywalking/issues/11675 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component Java Agent (apache/skywalking-java) ### What happened java agent version:9.0.0 arthas:3.7.1 The arthas retransform command is used to hot-load the class file. A retransform error message is displayed. java.lang.UnsupportedOperationException: class redefinition failed: attempted to change superclass or interfaces ### What you expected to happen The arthas hot-load class file function is not affected. ### How to reproduce ![3221702973608_ pic](https://github.com/apache/skywalking/assets/52090273/5f8c049e-4640-4838-a56c-da38706a327d) ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
Fine0830 commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1859161225 If the `enableSPA` is true in the register method, it's essential to use `setPerformance` to monitor performance metrics. This won't affect tracing and logging functionalities. Regarding `autoTracePerf`, it doesn't directly relate to enabling SPA (`enableSPA`). It depends on whether performance metrics need to be monitored automatically. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
marcanpilami commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1859134702 If I may, if you follow these guidelines you will encounter the issue I'm talking about. Part 1 "Enable SPA automatic parsing" actually only reports traces, not metrics nor errors. This is were I would add the mention I'm proposing above. (and I would also add it to the parameter table). -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
Fine0830 commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1859122994 Here is the guideline about the SPA scene. https://github.com/apache/skywalking-client-js?tab=readme-ov-file#spa-page -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
wu-sheng commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858988624 > It may also be interesting to say in the doc why it is disabled by default in SPAs - for this I have no idea. @Fine0830 Could you confirm this when you have time? -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
marcanpilami commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858909055 Thanks. However it may not be needed. If I manually add a call to `ClientMonitor.performance(ClientMonitor.customOptions);` just after `ClientMonitor.register(...)` it works. It seems `autoTracePerf` is willigly ignored when `enableSPA` is `true`. I believe it is worth adding a line to the documentation like "using enableSPA will disable automatic performance monitoring, call manually ClientMonitor.performance is you wish to re-enable it". (it would be a shame for users to miss this, as there is explicit support for SPAs inside ClientMonitor.performance so they should be encouraged to activate it). It may also be interesting to say in the doc why it is disabled by default in SPAs - for this I have no idea. Beside this doc enhancement, I think this issue may be closed. Thanks a lot for your help! -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
wu-sheng commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858846993 If you could provide a reproducible demo, @Fine0830 may be able to have a look. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
marcanpilami commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858832202 Just to be sure I have changed my configuratin not to use FMP and with `autoTracePerf` explictely to true, no changes. ```js ClientMonitor.register({ collector: window.APP_APIM_URL, service: window.APP_APIM_PROJECT_NAME, pagePath: '/app', serviceVersion: 'v1.0.0', useFmp: false, autoTracePerf: true, enableSPA: true, noTraceOrigins: [], customTags: [], traceTimeInterval: 1000, }); ``` Actually it seems that metrics collection is disabled in SPA mode: ```ts if (!this.customOptions.enableSPA) { this.performance(this.customOptions); } ``` (from monitor.ts) -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
marcanpilami commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858828480 The metrics do not seem to be sent. (when i look inside the browser dev tool network pane, there are only calls to `v3/segments`). This may be related to the fact I'm using a React SPA. I have left `autoTracePerf` unset, so default value `true` should apply. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
wu-sheng commented on issue #11662: URL: https://github.com/apache/skywalking/issues/11662#issuecomment-1858823406 Besides traces, the metrics should be reported as well, which should be able to create browser layer service. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] [Bug] skywalking-client-js data is not present inside skywalking-ui browser dashboards [skywalking]
marcanpilami opened a new issue, #11662: URL: https://github.com/apache/skywalking/issues/11662 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues. ### Apache SkyWalking Component NodeJS Client Side Agent (apache/skywalking-client-js) ### What happened I set up the JS library (inside a React app but this may not be relevant). Data is pushed correctly to the OAP server by the browser (HTTP 200, and data is present inside the OpenSearch database). However, the data cannot be seen inside the browser layer dashboards of the UI. Trace data can however be seen inside the traces of other components (in my case a java agent for the application backend), so data is here, and the trace id is well understood. ### What you expected to happen I would expect the browser layer dashboard to show my traces and errors. ### How to reproduce It should work with any default configuration, here given as a React hook run on startup in the root component: ```js useEffect(() => { if (window.APP_APIM_ENABLED) { ClientMonitor.register({ collector: window.APP_APIM_URL, service: window.APP_APIM_PROJECT_NAME, pagePath: '/app', serviceVersion: 'v1.0.0', useFmp: true, enableSPA: true, noTraceOrigins: [], customTags: [], traceTimeInterval: 1000, }); } }, [] // on startup only. ); ``` ### Anything else It seems the dashboards look for data in the BROWSER layer, but the JS library reports its spans as HTTP layer, hence the lack of data. Is this mismatch voluntary, or does it mean the BROWSER layer is for something else entirely? I have not found a way to overload the JS layer constant to test this hypothesis. If this is simply a matter of changing the constant or making it configurable, I'm open to submitting a PR. And.. thanks a lot for all your hard work on Skywalking! ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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-unsubscr...@skywalking.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [Bug] SkyWalking Java Agent failed to work with Arthas in some cases [skywalking]
kylixs commented on issue #11651: URL: https://github.com/apache/skywalking/issues/11651#issuecomment-1855331287 OK, let me have a look. -- 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-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org