Skip to content

Releases: elastic/apm-agent-go

v2.4.2

22 May 15:31
v2.4.2
8e1ae78
Compare
Choose a tag to compare

What's changed

  • module/apmotel: handle resources #1424
  • Drop x/net dependency #1434
  • module/apmotel: bump go.opentelemetry.io/otel/metric #1435
  • module/apmotel: follow APM OTel spec and prefer delta temporality #1437
  • module/apmotel: set the proper trace ID and span ID in trace context #1438
  • module/apmotel: handle context flags when creating remote transactions and spans #1441

v2.4.1

27 Apr 13:47
v2.4.1
c953eed
Compare
Choose a tag to compare

What's changed

  • Downgrade OpenTelemetry metrics from v1.15.0-rc.2 to 0.37.0 #1420
  • Mark OpenTelemetry metrics as technical preview #1419

v2.4.0

27 Apr 09:49
v2.4.0
27a3571
Compare
Choose a tag to compare

What's Changed

  • ci: remove notification and leftovers Jenkins #1408
  • OpenTelemetry metrics exporter #1407
  • docs: remove kibana.enabled requirement #1411
  • OpenTelemetry tracing bridge #1410
  • Only upgrade goversion in genmod, don't downgrade #1418

v2.3.0

31 Mar 06:01
v2.3.0
1af6eeb
Compare
Choose a tag to compare
  • Ensure minimum retry interval of 5 seconds for fetching central configuration #1337
  • Update span compression logic to handle service.target.* fields #1339
  • module/apmchiv5: Add panic propogation option #1359
  • module/apmgormv2: Add sqlserver support #1356
  • module/apmsql: Add sqlserver support #1356
  • Update compressed spans to use service.target.* fields to derive its name #1336
  • module/apmpgxv5: new instrumentation module for jackc/pgx v5 with enhanced support e.g. detailed BATCH and CONNECT traces #1364
  • Add support for Unwrap []error #1400

v2.2.0

01 Nov 00:20
@axw axw
v2.2.0
acf7d2b
Compare
Choose a tag to compare
  • Global labels are now parsed when the tracer is constructed, instead of parsing only once on package initialization #1290
  • Rename span_frames_min_duration to span_stack_trace_min_duration #1285
  • Ignore \*principal\* headers by default #1332
  • Add apmpgx module for postgres tracing with jackc/pgx driver enhanced support e.g. Copy and Batch statements #1301
  • Disable same-kind and enable exact-match compression by default #1256
  • module/apmechov4: add WithRequestName option #1268
  • Added support for adding span links when starting transactions and spans #1269
  • module/apmawssdkgo: fixed a panic related to drop spans #1273
  • Added support for the trace_continuation_strategy #1270
  • transaction.type and span.type are now set to "custom" if an empty string is specified #1272
  • We now capture the database instance name in service.target.*, for improved backend granularity #1279
  • Improved Kubernetes pod UID and container ID discovery coverage #1288
  • Fixed span.name for AWS SNS spans to match the spec #1286
  • module/apmgin: add WithPanicPropagation option #1314
  • Exit spans may now have non-exit child spans if they have the same type and subtype #1320
  • Updated instrumentation modules to mark spans as exit spans where possible #1317

v2.1.0

20 May 10:03
@axw axw
v2.1.0
94c7f5a
Compare
Choose a tag to compare
  • Replace authorization with *auth* pattern for sanitizing field names #1230
  • Fetch initial server version async to prevent blocking NewTracer for 10 seconds #1239
  • Fix race in apm.DefaultTracer which could lead to multiple tracers being created #1248

v2.0.0

17 Mar 05:31
@axw axw
v2.0.0
4b0163a
Compare
Choose a tag to compare
  • Record transaction.name on errors #1177
  • Fix panic in apmgocql #1180
  • Stop recording unused transaction.duration.* and transaction.breakdown.count metrics #1167
  • Make tracestate parsing more lenient, according to W3c spec, allowing duplicate vendor keys #1183
  • Introduced transport.NewHTTPTransportOptions #1168
  • Change ELASTIC_APM_SPAN_FRAMES_MIN_DURATION special cases to match agent spec #1188
  • Remove stacktrace.ContextSetter #1187
  • Drop support for versions of Go prior to 1.15.0 #1190
  • Replace apm.DefaultTracer with an initialization function #1189
  • Remove transport.Default, construct a new Transport in each new tracer #1195
  • Add service name and version to User-Agent header #1196
  • Remove WarningLogger, add Warningf methe to Logger #1205
  • Replace Sampler with ExtendedSampler #1206
  • Drop unsampled txs when connected to an APM Server >= 8.0 #1208
  • Removed SetTag #1218
  • Unexport Tracer's fields -- TracerOptions must be used instead #1219

v1.15.0

08 Dec 03:23
v1.15.0
41de5f0
Compare
Choose a tag to compare
  • Deprecate http.request.socket.encrypted and stop recording it in module/apmhttp, module/apmgrpc and module/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 to 1ms. #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, and apm.Error.SetSpan will now set the associated transaction or span's default outcome to "failure" #1160
    

v1.14.0

22 Sep 16:42
v1.14.0
5517149
Compare
Choose a tag to compare
  • span: automatically infer destination.service.resource information when the span is an exit span and deprecate destination.service.name and destination.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 and Tracestate 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

05 Aug 09:24
@axw axw
v1.13.1
2045b7b
Compare
Choose a tag to compare
  • Fix concurrency bugs in breakdown metrics and module/apmhttp.WithClientTrace (#997)