Registry /
observability / newrelic-go-agent-v3-integrations-nrgorilla
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
nrgorilla
✓ github.com/newrelic/go-agent/v3/integrations/nrgorilla
Instrument a Gorilla Mux router with New Relic.
package main
import (
"github.com/gorilla/mux"
"github.com/newrelic/go-agent/v3/integrations/nrgorilla"
"github.com/newrelic/go-agent/v3/newrelic"
)
func main() {
app, _ := newrelic.NewApplication(newrelic.ConfigAppName("My App"))
r := mux.NewRouter()
r.Use(nrgorilla.Middleware(app))
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.2.5latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.