We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69251ef commit 78a3892Copy full SHA for 78a3892
node/node.go
@@ -114,9 +114,12 @@ func New(conf *Config) (*Node, error) {
114
if os.Getenv("NEW_RELIC_APP_NAME") != "" {
115
nrApp, err = newrelic.NewApplication(
116
newrelic.ConfigFromEnvironment(),
117
- newrelic.ConfigEnabled(false),
+ newrelic.ConfigEnabled(true),
118
nrlogrus.ConfigStandardLogger(),
119
newrelic.ConfigDistributedTracerEnabled(true),
120
+ func(config *newrelic.Config) {
121
+ config.TransactionEvents.MaxSamplesStored = 1000
122
+ },
123
)
124
if err != nil {
125
log.Error("Failed to initialise New Relic agent: ", err)
0 commit comments