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

Fix NPE and otel quickstart test #38087

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Fix NPE and otel quickstart test #38087

merged 1 commit into from
Jan 9, 2024

Conversation

brunobat
Copy link
Contributor

@brunobat brunobat commented Jan 8, 2024

Fixes #38084.
Added IT for the simplest quickstart project

Copy link

quarkus-bot bot commented Jan 8, 2024

/cc @radcortez (opentelemetry)

@@ -373,6 +373,7 @@
<module>micrometer-mp-metrics</module>
<module>micrometer-prometheus</module>
<module>opentelemetry</module>
<module>opentelemetry-quickstart</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a new module for this? Is there no existing module we can use?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately no, because all the existing apps try to inject OTel stuff to help with the tests (like Baggage) and they will fail if OTel is disabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the test apps could probably be refactored with this objective but this is not the first time a bug is found on the quickstart, therefore I thought it would be worthwhile.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, let's go with it

This comment has been minimized.

Copy link

quarkus-bot bot commented Jan 8, 2024

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@geoand geoand merged commit b206815 into quarkusio:main Jan 9, 2024
50 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.7 - main milestone Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE when disabling OpenTelemetry
2 participants