I'm trying to add a module for MP Telemetry support, and I'm running into a CDI injection issue that is identical, at least in terms of error reporting, to the issue that I ran into with the OpenTelemetry module. One would think that I could just do to this module what I did to the other and the problem would be solved, but, sadly, that has not been the case so far. I'm asking here to help with both visibility (external and internal) and archiving. :)
With that, here's the error message:
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"service1-1.0-SNAPSHOT.war\".WeldStartService" => "Failed to start service
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type OpenTelemetryConfig with qualifiers @Default
at injection point [UnbackedAnnotatedField] @Inject io.smallrye.opentelemetry.implementation.cdi.OpenTelemetryProducer.config
at io.smallrye.opentelemetry.implementation.cdi.OpenTelemetryProducer.config(OpenTelemetryProducer.java:0)
"}}}}
I've gone so far as to copy and paste the module definitions from opentelemetry to microprofile-telemetry, with those definitions being here:
OpenTelemetry:
MicroProfile Telemetry:
I've also compared the modules exported in my dependency processor DPU:
I really need two things: 1) A solution to the problem, and 2) Any tips on tracking down these kinds of issues would be GREAT! :) Matej, in helping me last time, said I'd need "a magic wand, a CDI scrying orb, and at least two rubber ducks". If any of you have spares lying around, I can give you my shipping address. :)
Thanks.
Jason Lee
Principal Software Engineer
Red Hat JBoss EAP