Go Agent version 2.xedit

2.1.0 - 2022/05/20edit

  • 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)

2.0.0 - 2022/03/17edit

  • 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)