Skip to content
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

Error using dd-trace-java 1.44.1 with mule 4.6.9:11-java17 #8130

Open
Miladiir opened this issue Dec 23, 2024 · 2 comments
Open

Error using dd-trace-java 1.44.1 with mule 4.6.9:11-java17 #8130

Miladiir opened this issue Dec 23, 2024 · 2 comments

Comments

@Miladiir
Copy link

After the update to latest version of dd-trace-java from 1.43.0 to 1.44.1 and using a mule runtime engine of 4.6.9:11-java17 we get the following error:

********************************************************************************
Message               : class datadog.trace.instrumentation.mule4.DDEventTracer (in unnamed module @0x4683f197) cannot access class org.mule.runtime.tracer.customization.impl.info.ExecutionInitialSpanInfo (in module org.mule.runtime.tracer.customization.impl) because module org.mule.runtime.tracer.customization.impl does not export org.mule.runtime.tracer.customization.impl.info to unnamed module @0x4683f197
Element               : <redacted>/processors/0 @<redacted><redacted>.xml:17 (Choice)
Element DSL           : <choice doc:name="Choice" doc:id="531f2eff-7c80-485a-b45b-85b1d88f9627">
<when expression="<redacted>") == "true"]">
<logger level="INFO" doc:name="Logger" doc:id="222c089d-00e1-4d1e-b7a6-008af09ae009" message="<redacted>"></logger>
<flow-ref doc:name="Flow Reference" doc:id="de509546-2c14-4cd3-a991-7663ccec2fff" name="<redacted>"></flow-ref>
</when>
</choice>
Error type            : MULE:CRITICAL
FlowStack             : at <redacted>

  (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************

Datadog related settings in deployment yaml are as follows:

spec:
  template:
    metadata:
      labels:
        tags.datadoghq.com/env: staging
        tags.datadoghq.com/role: mule-api
        tags.datadoghq.com/service: <redacted>
        tags.datadoghq.com/source: anypoint
        tags.datadoghq.com/version: 81abbbe7-a34b-46e5-962d-4a4e3f9e70e9
      annotations:
        ad.datadoghq.com/app.logs: '[{"source": "anypoint"}]'
        admission.datadoghq.com/java-lib.version: v1.44.1
    spec:
      containers:
        - name: app
          image: <redacted>/mulesoft/poseidon-runtime-4.6.9:11-java17
          env:            
            - name: DD_INTEGRATION_MULE_ENABLED
              value: "true"
            - name: DD_INTEGRATION_GRIZZLY_CLIENT_ENABLED
              value: "true"
            - name: DD_INTEGRATION_GRIZZLY_FILTERCHAIN_ENABLED
              value: "true"
            - name: DD_IAST_ENABLED
              value: "true"
            - name: DD_GIT_COMMIT_SHA
              value: <redacted>
            - name: DD_GIT_REPOSITORY_URL
              value: <redacted>
            - name: DD_PROFILING_DDPROF_ENABLED
              value: "true"
            - name: DD_PROFILING_ENABLED
              value: "true"

Both versions are the latest (stable) versions of today.

@vandonr
Copy link
Contributor

vandonr commented Dec 24, 2024

Hello, thanks for the report, it does look like there is an issue with our recent work on better integrating with mulesoft that we didn't see when running tests.
Would you be able to write a minimal app that reproduces the problem ? Or can you tell us what mulesoft capabilities you are using that trigger the issue ?

In the meantime, you probably already know this, but to continue operating nominally, you can either disable mule instrumentation by changing DD_INTEGRATION_MULE_ENABLED to "false", or keep using v1.43.0 of the tracer.

@Miladiir
Copy link
Author

Will do so on monday. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants