Releases: elastic/apm-agent-go
Releases · elastic/apm-agent-go
v1.15.0
- Deprecate
http.request.socket.encrypted
and stop recording it inmodule/apmhttp
,module/apmgrpc
andmodule/apmfiber
. #1129 - Collect and send span destination service timing statistics about the dropped spans to the apm-server. #1132
- Experimental support to compress short exit spans into a composite span. Disabled by default. #1134
- Discard exit spans shorter or equal than
ELASTIC_APM_EXIT_SPAN_MIN_DURATION
. Defaults to1ms
. #1138 - module/apmprometheus: add support for mapping prometheus histograms. #1145
- Fixed a bug where errors in cloud metadata discovery could lead to the process aborting during initialisation #1158
- Fixed a data race related to HTTP request header sanitisation #1159
apm.CaptureError
,apm.Error.SetTransaction
, andapm.Error.SetSpan
will now set the associated transaction or span's default outcome to "failure" #1160
v1.14.0
- span: automatically infer
destination.service.resource
information when the span is an exit span and deprecatedestination.service.name
anddestination.service.type
#1003 - module/apmhttp: add apmhttp.WithClientSpanType ClientOption to set the span type of http client requests #1106
- module/apmazure: introduce instrumentation module for Azure blob, queue, and file storage #1109
- module/apmelasticsearch: propagete
Traceparent
andTracestate
headers to Elasticsearch #1002 - module/apmfiber: introduce instrumentation module for Fiber web framework #999
- module/apmawssdkgo: fix a bug where the module would panic when an unsupported service is used #1006
- module/apmfasthttp: report the correct HTTP Status Code instead of always reporting
200
#1104
v1.13.1
v1.13.0
- Prefer w3c traceparent header over legacy elastic-apm-traceparent {pull}963[#(963)]
- Context.SetUsername now takes precedence over HTTP user info from Context.SetHTTPRequest {pull}973[#(973)]
- module/apmhttp: fix a potential panic in WithClientTrace {pull}989[#(989)]
- add support for go-restful v3 {pull}968[#(968)]
- add fasthttp support {pull}957[#(957)]
- module/apmgin: support multiple routes using the same handler {pull}983[#(983)]
- add apm-server CA cert functionality {pull}982[#(982)]
v1.12.0
- module/apmgrpc: fix status code to outcome mapping: #902
- module/apmawssdkgo: add support for instrumenting s3 RPC calls: #927
- module/apmawssdkgo: add support for instrumenting dynamodb RPC calls: #928
- SpanContext.SetDestinationService is a no-op if either Name or Resource is empty: #931
- module/apmawssdkgo: add support for instrumenting sqs RPC calls: #933
- module/apmawssdkgo: add support for instrumenting sns RPC calls: #938
- Parse "//" comments in SQL/CQL: #937
- Fix CaptureError to capture the request body when ELASTIC_APM_CAPTURE_BODY is enabled: #906
- module/apmgrpc: record underlying HTTP/2 context: #904
- module/apmot: handle http.host tag as url.Host: #954
- apm: add add ParentID methods to Span and Transaction: #956
v1.11.0
v1.10.0
v1.9.0
- module/apmgoredisv8: introduce new package to support go-redis v8 (#780)
- module/apmhttp: introduce httptrace client option (#788)
- module/apmsql: add support for database/sql/driver.Validator (#791)
- Record sample rate on transactions and spans, propagate through
tracestate
(#804) - module/apmredigo: change redigo dependency to v1.8.2 (#807)
- Deprecate IGNORE_URLS, replace with TRANSACTION_IGNORE_URLS (#811)
- Tracer.Close now waits for the transport goroutine to end before returning (#816)
- Relax Kubernetes pod UID discovery rules (#819)
- Add transaction and span outcome (#820)
- Add cloud metadata, configurable with ELASTIC_APM_CLOUD_PROVIDER (#823)
- Round ELASTIC_APM_SAMPLING_RATE with 4 digits precision (#828)
- module/apmhttp: implement io.ReaderFrom in wrapped http.ResponseWriter (#830)
- Fixed Transaction.Discard so that it sets TransactionData to nil (#836)
- module/apmsql/pgxv4: add support for pgx driver (#831 -- thanks @Deepak13245!)
- module/apmgormv2: add support for gorm.io (GORM v2) (#825 -- thanks @Deepak13245!)
v1.8.0
- Add "recording" config option, to dynamically disable event recording (#737)
- Enable central configuration of "stack_frames_min_duration" and "stack_trace_limit" (#742)
- Implement "CloseIdleConnections" on the Elasticsearch RoundTripper (#750 - thanks @pebrc!)
- Fix apmot nil pointer dereference in Tracer.Inject (#763 - thanks @randomswdev!)