Documentation ¶
Index ¶
Constants ¶
View Source
const TraceIDHeader = "X-NewRelic-Trace-Id"
TraceIDHeader defines a response header's name for AddTraceIDToHeaderMiddleware
Variables ¶
This section is empty.
Functions ¶
func AddTraceIDToHeaderMiddleware ¶
func AddTraceIDToHeaderMiddleware() echo.MiddlewareFunc
AddTraceIDToHeaderMiddleware returns echo Middleware that adds trace ID to X-NewRelic-Trace-Id response header (must use after EchoMiddleware)
func EchoMiddleware ¶
func EchoMiddleware(app *newrelic.Application) echo.MiddlewareFunc
EchoMiddleware returns echo Middleware integrated with New Relic agent (given with `app`)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.