Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.glowroot.jetty12.GlowrootHttpMiddleware Class Reference

Middleware that instruments HTTP requests with Glowroot APM. More...

Inheritance diagram for dev.rafex.ether.glowroot.jetty12.GlowrootHttpMiddleware:
Collaboration diagram for dev.rafex.ether.glowroot.jetty12.GlowrootHttpMiddleware:

Public Member Functions

HttpHandler wrap (final HttpHandler next)

Detailed Description

Middleware that instruments HTTP requests with Glowroot APM.

Sets the Glowroot transaction type to "Web" and names each transaction as "METHOD /normalized/path", replacing dynamic path segments (UUIDs, ObjectIds, numeric IDs) with canonical placeholders so that Glowroot can aggregate similar endpoints.

Usage — register once when building the Jetty server:


middlewareRegistry.add(new GlowrootHttpMiddleware());

Definition at line 52 of file GlowrootHttpMiddleware.java.

Member Function Documentation

◆ wrap()

HttpHandler dev.rafex.ether.glowroot.jetty12.GlowrootHttpMiddleware.wrap ( final HttpHandler next)

Implements dev.rafex.ether.http.core.Middleware.

Definition at line 55 of file GlowrootHttpMiddleware.java.

References dev.rafex.ether.http.core.HttpHandler.handle().

Here is the call graph for this function:

The documentation for this class was generated from the following file: