Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.45 KB

QUARKUS-2391.md

File metadata and controls

40 lines (32 loc) · 2.45 KB

QUARKUS-2391 Promote the OpenTelemetry extension from TP to full support

JIRA:https://issues.redhat.com/browse/QUARKUS-2391

Scope of the testing

Quarkus already supported Opentelemetry as a tech preview, but now we move towards full support, then we will extend our test coverage.

Existing tests

In the current quarkus-test-suite exist two modules dedicated to opentelemetry in the monitoring folder, they are:

  • opentelemetry [monitoring-opentelemetry]
  • opentelemetry-reactive [monitoring-opentelemetry-reactive]

These tests utilize trace export to Jaeger (all-in-one pod) components and context propagation through a Ping-Pong application with 3 pods (ping service,pong service, jaeger-all-in-one). The traces are directly sent to the Jaeger collector, and they also test Quarkus gRPC communication between services and SSE (Server-Sent Events).

On the other hand, also other modules use quarkus-opentelemetry dependency:

  • javaee-like-getting-started
  • build-time-analytics
  • http/graphql-telemetry
  • http/vertx-web-client
  • sql-db/narayana-transactions (where is tested JDBC Opentelemetry instrumentation)

Test scenarios

  • Disable Opentelemetry extensions to ensure the application behaves as expected without tracing enabled.
  • Testing scenario with additional configuration options such as custom Id Generator, Propagators, Resource, Sampler configuration.
  • Integration tests to ensure proper tracing is enabled and functioning correctly with other core Quarkus extensions such as quarkus-smallrye-reactive-messaging-amqp.
  • Testing Opentelemetry in dev mode once this issue is resolved: Opentelemetry has no Dev Service in dev mode
  • Testing of exportation of security events as Opentelemetry Events, stored inside spans.

Impact on testsuites and testing automation:

Some new tests will be added inside monitoring-opentelemetry, messaging-amqp-reactive modules.

Ensure the test cases are running on JVM in both baremetal and OpenShift environments.

Getting familiar with the feature

To become familiar with the feature, the following actions were taken:

References

Contact