Bot releases are hidden (Show)
Published by axw over 3 years ago
Published by axw over 3 years ago
Published by jalvz almost 4 years ago
tracestate
(#804)Published by axw over 4 years ago
Published by axw over 4 years ago
Published by axw over 4 years ago
Published by axw almost 5 years ago
Published by axw almost 5 years ago
ELASTIC_APM_TRANSACTION_MAX_SPANS
to 0 now disables all spans (#640)ELASTIC_APM_CAPTURE_BODY
and ELASTIC_APM_TRANSACTION_MAX_SPANS
(#648)context.request.socket.remote_address
now reports the peer address (#662)Published by axw about 5 years ago
Published by axw over 5 years ago
ELASTIC_APM_GLOBAL_LABELS
config (#539)row_query
callbacks (#532 - thanks @Vilsol!)ELASTIC_APM_STACK_TRACE_LIMIT
config (#559)error.culprit
at 1024 chars (#561)Published by axw over 5 years ago
ELASTIC_APM_DISABLE_METRICS
to disable metrics with matching names (#439)Published by axw almost 6 years ago
ELASTIC_APM_CAPTURE_HEADERS
to control HTTP header capture (#418)Published by axw almost 6 years ago
This is a minor fix release, adding support for the new github.com/pkg/errors.Frame type (see #409). We continue to support github.com/pkg/errors v0.8.x, but will also support master/v0.9.0 when it comes.
Published by axw almost 6 years ago
Fixed a minor data race between Tracer.Active and Tracer.loop (#406). The only significant symptom of this race would have been race test failures, such as observed in apm-server.
Published by axw almost 6 years ago
Fixes a bug in the builtin metrics: CPU% metrics are now correctly reported in the range [0,1], no longer scaled by 100.
Published by axw almost 6 years ago
We have introduced module/apmlogrus
, which provides two integrations with Logrus: a logrus.Hook implementation which sends error log records to Elastic APM, and a function for adding trace, transaction, and span ID fields to log records.
This new instrumentation module provides tracing middleware for the Beego web framework. This currently covers the web requests, and not beego/orm.
Prior to this release, Transaction, Span and Error objects returned by StartTransaction, StartSpan and NewError respectively were pooled to minimise memory allocation overhead, at the cost of having to handle the objects with care; once a transaction was ended, it would no longer be valid for use. The intention was to educate users to handle these objects carefully.
It turned out to be too easy to access ended transactions, particularly when used with context objects with cancellation. For example, an instrumented HTTP handler might pass its context onto another goroutine; some time later that goroutine attempts to start a span using the context, but the request has timed out and accordingly ended the transaction.
We have changed how pooling works, so that it operates internally within the Transaction, Span, and Error objects. This means a slightly higher allocation overhead, but it is now safe to access an ended Transaction, Span, or Error.
apm.StartSpanOptions
was ignoring the options provided, which meant, for example, you could not provide the start timestamp. Many thanks to @ChristophPech for the fix!
module/apmsql
will no longer report "bad connection" or "context canceled" errors.
"Bad connection" errors occur when a pooled database connection becomes stale/unusable, which can occur in normal usage. Internally, database/sql
will attempt to fetch another pooled connection, and finally attempt to make a new connection, under these circumstances. Since these are not indicative of application errors, and are not actionable, we will stop reporting them to the user.
Similarly, we were reporting "context canceled" errors from module/apmsql
, as these may be intentional and not related to any application logic error.
ELASTIC_APM_SERVER_CERT
enables server certificate pinning (#325)Span.Subtype
, Span.Action
(#332)Published by axw almost 6 years ago
The Go agent is now generally available. This version requires APM Server v6.5 or later.
Published by axw about 6 years ago
Fixed premature Span.End() in apmgorm callback, causing a data-race with captured errors (#229)
Published by axw about 6 years ago
Fixed a bug causing error stacktraces and culprit to sometimes not be set (#204)
Published by axw about 6 years ago
In the next release we will be changing the canonical import path prefix to "go.elastic.co/apm", and the top-level package name to "apm". Please consider vendoring if this will break your builds.