5.4 KiB
ChangeLog
1.5.0
-
Added support for Windows. Thanks to @ianomad and @lvxv for the contributions.
-
The number of heap objects allocated is recorded in the
Memory/Heap/AllocatedObjectsmetric. This will soon be displayed on the "Go runtime" page. -
If the DatastoreSegment fields
HostandPortPathOrIDare not provided, they will no longer appear as"unknown"in transaction traces and slow query traces. -
Stack traces will now be nicely aligned in the APM UI.
1.4.0
-
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. Slow Query Documentation
-
Added new DatastoreSegment fields
ParameterizedQuery,QueryParameters,Host,PortPathOrID, andDatabaseName. These fields will be shown in transaction traces and in slow query traces.
1.3.0
- Breaking Change: Added a timeout parameter to the
Application.Shutdownmethod.
1.2.0
-
Added support for instrumenting short-lived processes:
- The new
Application.Shutdownmethod allows applications to report data to New Relic without waiting a full minute. - The new
Application.WaitForConnectionmethod 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 github.com/mgutz/logxi. See _integrations/nrlogxi/v1/nrlogxi.go.
-
Fixed bug where Transaction Trace thresholds based upon Apdex were not being applied to background transactions.
1.1.0
-
Added support for Transaction Traces.
-
Stack trace filenames have been shortened: Any thing preceding the first
/src/is now removed.
1.0.0
-
Removed
BetaTokenfrom theConfigstructure. -
Breaking Datastore Change:
datastorepackage contents moved to top levelnewrelicpackage.datastore.MySQLhas becomenewrelic.DatastoreMySQL. -
Breaking Attributes Change:
attributespackage contents moved to top levelnewrelicpackage.attributes.ResponseCodehas 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.".
0.8.0
-
Breaking Segments API Changes: The segments API has been rewritten with the goal of being easier to use and to avoid nil Transaction checks. See:
-
Updated LICENSE.txt with contribution information.
0.7.1
- Fixed a bug causing the
Configto fail to serialize into JSON when theTransportfield was populated.
0.7.0
-
Eliminated
api,version, andlogpackages.Version,Config,Application, andTransactionnow live in the top levelnewrelicpackage. If you imported theattributesordatastorepackages then you will need to removeapifrom the import path. -
Breaking Logging Changes
Logging is no longer controlled though a single global. Instead, logging is
configured on a per-application basis with the new Config.Logger field. The
logger is an interface described in log.go. See
GUIDE.md#logging.
0.6.1
- No longer create "GC/System/Pauses" metric if no GC pauses happened.
0.6.0
-
Introduced beta token to support our beta program.
-
Rename
Config.DevelopmenttoConfig.Enabled(and change boolean direction). -
Fixed a bug where exclusive time could be incorrect if segments were not ended.
-
Fix unit tests broken in 1.6.
-
In
Config.Enabled = falsemode, the license must be the proper length or empty. -
Added runtime statistics for CPU/memory usage, garbage collection, and number of goroutines.
0.5.0
-
Added segment timing methods to
Transaction. These methods must only be used in a single goroutine. -
The license length check will not be performed in
Developmentmode. -
Rename
SetLogFiletoSetFileto reduce redundancy. -
Added
DebugEnabledlogging guard to reduce overhead. -
Transactionnow implements anIgnoremethod which will prevent any of the transaction's data from being recorded. -
Transactionnow implements a subset of the interfaceshttp.CloseNotifier,http.Flusher,http.Hijacker, andio.ReaderFromto match the behavior of its wrappedhttp.ResponseWriter. -
Changed project name from
go-sdktogo-agent.
0.4.0
- Queue time support added: if the inbound request contains an
"X-Request-Start"or"X-Queue-Start"header with a unix timestamp, the agent will report queue time metrics. Queue time will appear on the application overview chart. The timestamp may fractional seconds, milliseconds, or microseconds: the agent will deduce the correct units.