-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
IllegalAccessError when using OpenTelemetry extension with custom Resource #22815
Comments
/cc @radcortez |
Interesting case... This happens because the constructor of A workaround is to change |
@geoand the workaround works. The exception is no longer thrown |
Yes, it's problematic because the |
@geoand can the custom resource be replaced with quarkus.opentelemetry.tracer.resource-attributes=service.instance.id=${quarkus.uuid} I don't see the traces on new relic because the |
That's a question for @radcortez |
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
Let me check |
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
The fix needs more work. It won't be included in 2.7.0.Final. |
Everything looks ok to me. Are you able to check if the OTel data is correct using Jaeger for instance? |
What is missing? |
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - previously, the package of the declaring class was used - resolves quarkusio#22815
- use the package of the return type/field type - and use the produced type to test the app class - previously, the package of the declaring class was used - also a proxy class does not reference the bean class directly but performs a lookup via the bean identifier when instantiated - resolves quarkusio#22815
- use the package of the return type/field type - and use the produced type to test the app class - previously, the package of the declaring class was used - also a proxy class does not reference the bean class directly but performs a lookup via the bean identifier when instantiated - resolves quarkusio#22815
- use the package of the return type/field type - and use the produced type to test the app class - previously, the package of the declaring class was used - also a proxy class does not reference the bean class directly but performs a lookup via the bean identifier when instantiated - resolves quarkusio#22815
- use the package of the return type/field type - and use the produced type to test the app class - previously, the package of the declaring class was used - also a proxy class does not reference the bean class directly but performs a lookup via the bean identifier when instantiated - resolves quarkusio#22815 (cherry picked from commit c0f70cf)
Describe the bug
I created a quarkus project with the OpenTelemetry extension and added a custom
Resource CDI Producer
.Expected behavior
The application should startup when
./mvnw clean quarkus:dev
Actual behavior
An exception is thrown
How to Reproduce?
reproducer.zip
Output of
uname -a
orver
Linux usename 5.10.60.1-microsoft-standard-WSL2
Output of
java -version
openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 17.0.1+12-Ubuntu-120.04, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) Maven home: Java version: 17.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.10.60.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
Additional information
No response
The text was updated successfully, but these errors were encountered: