Registry / observability / newrelic-go-agent-v3

newrelic-go-agent-v3

JSON →
library3.43.3gogounverified

Package newrelic provides the New Relic Go Agent for monitoring application performance and errors.

go get github.com/newrelic/go-agent/v3
INSTALL
IMPORT
SIG · NEWRELIC-GO-AGENT-
N
newrelic-go-agent-v3
observabilitygov3.43.3
harness data pending
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.

newrelic
github.com/newrelic/go-agent/v3/newrelic

Initializes a New Relic application with app name and license key.

package main import ( "github.com/newrelic/go-agent/v3/newrelic" ) func main() { app, _ := newrelic.NewApplication( newrelic.ConfigAppName("My App"), newrelic.ConfigLicense("YOUR_LICENSE_KEY"), ) app.WaitForConnection(10) }
Debug
Known issues
gotchaThe import path is github.com/newrelic/go-agent/v3/newrelic, not the module root.
fix
Use 'import "github.com/newrelic/go-agent/v3/newrelic"' in your code.
affects: >=3.0.0
Upgrade
Version history
3.43.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
newrelic-go-agent-v3 — go get newrelic-go-agent-v3 · libregistry