Go Agent Release Notes

Go Agent Release Notes

Wednesday, November 29, 2017 - 09:10 Download

New Features

  • Added support for Cross Application Tracing (CAT). Please refer to the upgrading section of the guide for more detail on how to ensure you get the most out of the Go agent's new CAT support.

  • The agent now collects additional metadata when running within Amazon Web Services, Google Cloud Platform, Microsoft Azure, and Pivotal Cloud Foundry. This information is used to provide an enhanced experience when the agent is deployed on those platforms.

Tuesday, October 24, 2017 - 04:22 Download


  • 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 import Sirupsen/logrus had been renamed to sirupsen/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.
Tuesday, April 18, 2017 - 10:20 Download


Friday, March 17, 2017 - 15:31 Download


  • Fixed incorrect metric rule application when the metric rule is flagged to terminate and matches but the name is unchanged.

  • Segment.End(), DatastoreSegment.End(), and ExternalSegment.End() methods now return an error which may be helpful in diagnosing situations where segment data is unexpectedly missing.

Thursday, February 16, 2017 - 12:59 Download


Thursday, February 9, 2017 - 07:45 Download


  • Added support for custom error messages and stack traces. Errors provided to Transaction.NoticeError will now be checked to see if they implement ErrorClasser and/or StackTracer. Thanks to @fgrosse for this proposal.

  • Added support for pkg/errors. Thanks to @fgrosse for this work.

  • Fixed tests for Go 1.8.

Wednesday, October 12, 2016 - 11:00 Download


  • 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, and DatabaseName. These fields will be shown in transaction traces and in slow query traces.

Friday, October 7, 2016 - 09:40 Download


  • Added a timeout parameter to the Application.Shutdown method.
Thursday, October 6, 2016 - 03:30 Download


Wednesday, September 7, 2016 - 12:00 Download


  • Added support for Transaction Traces.

  • Stack trace filenames have been shortened: Any thing preceding the first /src/ is now removed.

Monday, August 8, 2016 - 12:00 Download


  • Removed BetaToken from the Config structure.

  • Breaking Datastore change: datastore package contents moved to top level newrelic package. datastore.MySQL has become newrelic.DatastoreMySQL.

  • Breaking Attributes change: attributes package contents moved to top level newrelic package. attributes.ResponseCode has become newrelic.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."