Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigNoticeErrorEnabled ¶
func ConfigNoticeErrorEnabled(enabled bool) *config
func ConfigStatusCodeIgnored ¶ added in v0.2.0
func ConfigStatusCodeIgnored(statusCode []int) *config
func FromContext ¶
func FromContext(c *fiber.Ctx) *newrelic.Transaction
FromContext returns the Transaction from the context if present, and nil otherwise.
func Middleware ¶
func Middleware(app *newrelic.Application, configs ...*config) fiber.Handler
Middleware creates Fiber middleware that instruments requests.
app := fiber.New() // Add the nrfiber middleware before other middlewares or routes: app.Use(nrfiber.Middleware(app))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.