/opentelemetry-gradle-quarkus-demo

Build tool observability. Demo of the OpenTelemetry integration for Gradle and Quarkus

Primary LanguageHTMLApache License 2.0Apache-2.0

Demo: Build Tool Observability with OpenTelemetry, Gradle and Quarkus

Demonstrates using Gradle Quarkus Plugin for building a Quarkus a web application with Gradle Build Tool, with the WireMock dev service being used for development purposes. Everything is connected to OpenTelemetry and exposes data there.

Components:

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Starting

./run-otel.sh

Tracing the build process

 SPAN_ID=abc5 TRACE_ID=cda5 ./gradlew build

Use clean, test, or any other Gradle Build Tool's feature to alter the behavior.

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

 SPAN_ID=abc5 TRACE_ID=cda5 quarkus dev

Or:

 SPAN_ID=abc5 TRACE_ID=cda5  ./gradlew --console=plain quarkusDev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.