Quarkus 3 OpenTelemetry hardening #1222
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
sql-db/narayana-transactions
is now using RESTEasy Reactive, which is preferred REST stack anyway and not relevant for Narayana tests@QuarkusTest
so we want to check normal lifecycle and native modequarkus.otel.some-property-name
tootel.some-property-name
https://github.com/quarkusio/quarkus/blob/43a53588daa126477e24e81c75abfbf017547df5/extensions/opentelemetry/runtime/src/main/java/io/quarkus/opentelemetry/runtime/OpenTelemetryProducer.java#L143 and passing them to SDK builder, so what we want is to test that selected properties are passed to OTEL (otherwise we would be expensively testing whether someone didn't do typo)quarkus.otel.service.name
has preference overquarkus.application.name
and it doesn't OpenTelemetry SDK autoconfiguration ignores OTEL service name in favor of Quarkus app name quarkusio/quarkus#33317 (so I opened issue)quarkus.otel.attribute.value.length.limit
actually limits attribute length. that is OTEL business, but we want to ensure Quarkus OpenTelemetry extensions passed the propertyquarkus.opentelemetry
has changed toquarkus.otel
, I didn't migrate properties as @linartova is working on this and backwards compatibility should work for the moment being (and changes are not one to one, e.g.quarkus.opentelemetry.tracer.exporter.otlp.endpoint
has changed toquarkus.otel.exporter.otlp.traces.endpoint
as documented in migration guide)Please select the relevant options.
run tests
phrase in comment)Checklist: