Skip to content

feature: open telemetry module #3900

Description

@jknack
{
  // 1. Install the core engine FIRST
  install(new OtelModule(
    new OtelLogback(),       // Injects Trace IDs into application logs
    new OtelServerMetrics(), // Exports HTTP server metrics (e.g., Netty, Undertow, Jetty)
    new OtelHikari()         // Traces database connection pools
  ));

  // 2. Add the tracing filter to the routing pipeline
  use(new OtelHttpTracing());

  // 3. Define routes
  get("/books", ctx -> "List of books");
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions