October 24, 2017
Go agent v1.10
New
- Added new RecordCustomMetric method to Application. This functionality can be used to track averages or counters without using custom events. See Custom Metric Documentation
- Fixed import needed for
logrus
. The importSirupsen/logrus
had been renamed tosirupsen/logrus
. Thanks to @alfred-landrum for spotting this. - Added ErrorAttributer, an optional interface that can be implemented by errors provided to
Transaction.NoticeError
to attach additional attributes. These attributes are subject to attribute configuration. - Added Error, a type that allows direct control of error fields.
- Updated license to address scope of usage.
April 18, 2017
Go agent v1.9
New
- Added support for github.com/gin-gonic/gin in the new
nrgin
package.
March 17, 2017
Go agent v1.8
Notes
- Fixed incorrect metric rule application when the metric rule is flagged to terminate and matches but the name is unchanged.
Segment.End()
,DatastoreSegment.End()
, andExternalSegment.End()
methods now return an error which may be helpful in diagnosing situations where segment data is unexpectedly missing.
October 12, 2016
Go agent v1.4
Notes
- Added support for slow query traces. Slow datastore segments will now generate slow query traces viewable on the datastore tab. These traces include a stack trace and help you to debug slow datastore activity.
- Added new DatastoreSegment fields
ParameterizedQuery
,QueryParameters
,Host
,PortPathOrID
, andDatabaseName
. These fields will be shown in transaction traces and in slow query traces.
October 7, 2016
Go agent v1.3
Notes
- Added a timeout parameter to the Application.Shutdown method.
October 6, 2016
Go agent v1.2
Notes
Added support for instrumenting short-lived processes:
- The new
Application.Shutdown
method allows applications to report data to New Relic without waiting a full minute. - The new
Application.WaitForConnection
method allows your process to defer instrumentation until the application is connected and ready to gather data. - Full documentation here: application.go
- Example short-lived process: examples/short-lived-process/main.go
- The new
Error metrics are no longer created when
ErrorCollector.Enabled = false
.Added support for http://wwwgithub.com/mgutz/logxi. See https://github.com/newrelic/go-agent/blob/master/_integrations/nrlogxi/v1/nrlogxi.go.
Fixed bug where Transaction Trace thresholds based upon Apdex were not being applied to background transactions.
September 7, 2016
Go agent v1.1
Notes
- Added support for Transaction Traces.
- Stack trace filenames have been shortened: Any thing preceding the first
/src/
is now removed.
August 8, 2016
Go agent v1.0
Notes
- Removed
BetaToken
from theConfig
structure. - Breaking Datastore change:
datastore
package contents moved to top levelnewrelic
package.datastore.MySQL
has becomenewrelic.DatastoreMySQL
. - Breaking Attributes change:
attributes
package contents moved to top levelnewrelic
package.attributes.ResponseCode
has becomenewrelic.AttributeResponseCode
. Some attribute name constants have been shortened. - Added "runtime.NumCPU" to the environment tab. Thanks sergeylanzman for the contribution.
- Prefixed the environment tab values "Compiler", "GOARCH", "GOOS", and "Version" with "runtime."