-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DiSCo(Concurrency) unable to propagate context in ForkJoinTask #12
Comments
Hello. Thanks for trying to onboard with X-Ray, and sorry that you're experiencing these frustrations. The first thing really that I notice, is that your Dockerfile tells me that you are using Coretto 15. So far, we have tested the disco/x-ray software stack on JDKs 8 and 11. If you are committed to using version 15, we can spend some time on our side testing with that JDK - I wouldn't necessarily be able to immediately commit to a firm timeframe for that, but we can certainly treat it as a '+1' on a feature request for it. In parallel, are you able to repeat your test using JDK 11? If that worked for you, it would give us a clearer hint that the JDK version might be impactful here. |
Hi @guilhermeblanco, Could you also post the contents of your As for the |
@willarmiros Interesting... Docker flats the folder structure an only copies the files (without their recursive path). I ended up with my Dockerfile to have all plugins in the same folder as disco-java-agent.jar. I've changes the line to copy them directly and it indeed expanded the list of interceptors installed. @connellp I've addressed the point William made about missing interceptors and switched to Please let me know if there's anything else you may want me to verify or test. Otherwise, I'll leave the fate of this issue in your hands to either close it, rename it, etc. =) |
Glad to hear you got it working! So you don't see the |
@willarmiros Yes, everything is working (I see some errors, but they are mainly due to background processes and lack a main segment), so fully ignorable. Other parts are working as expected.
I'm seeing logs around every 6 seconds. |
@guilhermeblanco I think the ForkJoinTask thing is unrelated, and possibly benign. I ran all our integ tests (which are quite large in number and I trust them) on JDK15, and they did all pass, so it's still unexplained. If I find a reproducible case, I will follow up. |
Following the guidelines provided in https://docs.aws.amazon.com/xray/latest/devguide/aws-x-ray-auto-instrumentation-agent-for-java.html , my hopes were that I could collect tracing data from multiple Java services I have implemented as part of my stack.
My first service is a tool we rely on for CQRS called Axon (https://axoniq.io/download). In our case, we use the AxonServer enterprise (paid), but I was able to replicate the exact same issue on a single node on AxonServer standard edition (open-source). I decided to build my own container and publish to ECR. To package and configure the pre-built JAR file for AxonServer, I created the following Dockerfile:
Axon exposes 3 ports that does the following: 8024 provides the GUI (and also responsible for readiness and liveness), 8124 is the gRPC responsible to receive commands/queries and dispatch to corresponding handlers, and finally to relay the resulting events to any event handler that may be interested, and finally port 8224 that does cross-node communication for clustering.
My setup is currently an EKS cluster with various ties to AWS services, such as Cloudwatch, Container Insights, ECR, IAM-Authenticator, ALB Ingress Controller, etc. To leverage the integration with X-Ray, I've deployed the X-Ray daemon as a Daemonset in my cluster and exposed them as a headless service reachable through
aws-xray-daemon.aws-system.svc.cluster.local:2000
. Performing anetcat
successfully connects to the UDP port, meaning daemon is reachable for the containers. Please let me know if you require me to provide the Kubernetes manifests for this deployment. It's inspired on https://www.eksworkshop.com/intermediate/245_x-ray/x-ray-daemon/ with my specific setup/configuration.My xray daemon contains the following configuration:
When deploying it on my EKS cluster, the application is fully functional/operational. No traces show up in the AWS Console UI. However, when I turn on the logs, I experience these from disco:
Please let me know if there is anything else I can provide or do to help you troubleshoot this error.
The text was updated successfully, but these errors were encountered: