Skip to content

feat(opentelemetry): introduce comprehensive OpenTelemetry module and…#3903

Merged
jknack merged 4 commits intomainfrom
3900
Apr 13, 2026
Merged

feat(opentelemetry): introduce comprehensive OpenTelemetry module and…#3903
jknack merged 4 commits intomainfrom
3900

Conversation

@jknack
Copy link
Copy Markdown
Member

@jknack jknack commented Apr 13, 2026

… instrumentations

This commit introduces the foundational OtelModule and a suite of native instrumentations to seamlessly integrate OpenTelemetry tracing, metrics, and logging into Jooby applications.

Core features:

  • Add OtelModule to bootstrap the OpenTelemetry SDK.
  • Add OtelHttpTracing filter for automated HTTP route tracing with W3C propagation.
  • Add Trace utility with fluent API for safe, manual service-layer instrumentation.
  • Add OtelServerMetrics to export native operational metrics for Netty, Jetty, and Undertow.

Third-party extensions:

  • Add OtelHikari for database connection pool metrics.
  • Add OtelLogback and OtelLog4j2 for automatic trace correlation in application logs.
  • Add OtelQuartz and OtelDbScheduler for background job observability.

… instrumentations

This commit introduces the foundational `OtelModule` and a suite of
native instrumentations to seamlessly integrate OpenTelemetry tracing,
metrics, and logging into Jooby applications.

Core features:
- Add `OtelModule` to bootstrap the OpenTelemetry SDK.
- Add `OtelHttpTracing` filter for automated HTTP route tracing with W3C propagation.
- Add `Trace` utility with fluent API for safe, manual service-layer instrumentation.
- Add `OtelServerMetrics` to export native operational metrics for Netty, Jetty, and Undertow.

Third-party extensions:
- Add `OtelHikari` for database connection pool metrics.
- Add `OtelLogback` and `OtelLog4j2` for automatic trace correlation in application logs.
- Add `OtelQuartz` and `OtelDbScheduler` for background job observability.
@jknack
Copy link
Copy Markdown
Member Author

jknack commented Apr 13, 2026

fixes #3900

@jknack jknack added this to the 4.4.0 milestone Apr 13, 2026
@jknack jknack merged commit 5eff2dd into main Apr 13, 2026
9 checks passed
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.

1 participant