package newrelic

import "github.com/newrelic/go-agent"

// NullNewRelic returns a disabled New Relic appliaction.
func NullNewRelic() newrelic.Application {
	config := newrelic.NewConfig("application", "")
	config.Enabled = false
	app, _ := newrelic.NewApplication(config)

	return app
}


package newrelic

import "github.com/newrelic/go-agent"

// NullNewRelic returns a disabled New Relic appliaction.
func NullNewRelic() newrelic.Application {
	config := newrelic.NewConfig("smsprocessor", "")
	config.Enabled = false
	app, _ := newrelic.NewApplication(config)

	return app
}


--- 
+++ 
@@ -4,7 +4,7 @@
 
 // NullNewRelic returns a disabled New Relic appliaction.
 func NullNewRelic() newrelic.Application {
-	config := newrelic.NewConfig("smsprocessor", "")
+	config := newrelic.NewConfig("application", "")
 	config.Enabled = false
 	app, _ := newrelic.NewApplication(config)
 
Use a more generic application name.
