From acf7d2b497fa70d5a1bb06088f700c152de5fb0c Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Tue, 1 Nov 2022 08:01:43 +0800 Subject: [PATCH] Update version to v2.2.0, update changelog (#1346) * Update version to v2.2.0 * Fix CHANGELOG PR link formatting Use format `{pull}NNNN[#NNNN]`, without the additional parentheses, for consistency with other agents' docs. --- CHANGELOG.asciidoc | 431 +++++++++--------- internal/apmgodog/go.mod | 4 +- internal/apmversion/version.go | 2 +- module/apmawssdkgo/go.mod | 4 +- module/apmazure/go.mod | 4 +- module/apmbeego/go.mod | 6 +- module/apmchi/go.mod | 4 +- module/apmchiv5/go.mod | 4 +- module/apmecho/go.mod | 4 +- module/apmechov4/go.mod | 4 +- module/apmelasticsearch/go.mod | 4 +- .../internal/integration/go.mod | 2 +- module/apmfasthttp/go.mod | 4 +- module/apmfiber/go.mod | 6 +- module/apmgin/go.mod | 4 +- module/apmgocql/go.mod | 2 +- module/apmgokit/go.mod | 6 +- module/apmgometrics/go.mod | 2 +- module/apmgopg/go.mod | 4 +- module/apmgopgv10/go.mod | 4 +- module/apmgoredis/go.mod | 2 +- module/apmgoredisv8/go.mod | 2 +- module/apmgorilla/go.mod | 4 +- module/apmgorm/go.mod | 4 +- module/apmgormv2/go.mod | 4 +- module/apmgrpc/go.mod | 4 +- module/apmhttp/go.mod | 2 +- module/apmhttprouter/go.mod | 4 +- module/apmlambda/go.mod | 2 +- module/apmlogrus/go.mod | 2 +- module/apmmongo/go.mod | 2 +- module/apmnegroni/go.mod | 4 +- module/apmot/go.mod | 4 +- module/apmpgx/go.mod | 4 +- module/apmprometheus/go.mod | 2 +- module/apmredigo/go.mod | 2 +- module/apmrestful/go.mod | 4 +- module/apmrestfulv3/go.mod | 4 +- module/apmsql/go.mod | 2 +- module/apmzap/go.mod | 2 +- module/apmzerolog/go.mod | 2 +- version.go | 2 +- 42 files changed, 292 insertions(+), 277 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index a5a373e41..72837b90a 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -21,42 +21,57 @@ endif::[] [[unreleased]] === Unreleased -https://github.com/elastic/apm-agent-go/compare/v2.1.0...main[View commits] - -- Global labels are now parsed when the tracer is constructed, instead of parsing only once on package initialization {pull}1290[#(1290)] -- Rename span_frames_min_duration to span_stack_trace_min_duration {pull}1285[#(1285)] -- Ignore *principal* headers by default {pull}1332[#(1332)] -- Add *apmpgx* module for postgres tracing with jackc/pgx driver enhanced support e.g. Copy and Batch statements {pull}1301[#(1301)] +https://github.com/elastic/apm-agent-go/compare/v2.2.0...main[View commits] [[release-notes-2.x]] === Go Agent version 2.x +[[release-notes-2.2.0]] +==== 2.2.0 - 2022/10/31 + +- Global labels are now parsed when the tracer is constructed, instead of parsing only once on package initialization {pull}1290[#1290] +- Rename span_frames_min_duration to span_stack_trace_min_duration {pull}1285[#1285] +- Ignore `\*principal\*` headers by default {pull}1332[#1332] +- Add `apmpgx` module for postgres tracing with jackc/pgx driver enhanced support e.g. Copy and Batch statements {pull}1301[#1301] +- Disable same-kind and enable exact-match compression by default {pull}1256[#1256] +- module/apmechov4: add `WithRequestName` option {pull}1268[#1268] +- Added support for adding span links when starting transactions and spans {pull}1269[#1269] +- module/apmawssdkgo: fixed a panic related to drop spans {pull}1273[#1273] +- Added support for the `trace_continuation_strategy` {pull}1270[#1270] +- `transaction.type` and `span.type` are now set to "custom" if an empty string is specified {pull}1272[#1272] +- We now capture the database instance name in `service.target.*`, for improved backend granularity {pull}1279[#1279] +- Improved Kubernetes pod UID and container ID discovery coverage {pull}1288[#1288] +- Fixed `span.name` for AWS SNS spans to match the spec {pull}1286[#1286] +- module/apmgin: add `WithPanicPropagation` option {pull}1314[#1314] +- Exit spans may now have non-exit child spans if they have the same type and subtype {pull}1320[#1320] +- Updated instrumentation modules to mark spans as exit spans where possible {pull}1317[#1317] + [[release-notes-2.1.0]] ==== 2.1.0 - 2022/05/20 -- Replace `authorization` with `*auth*` pattern for sanitizing field names {pull}1230[#(1230)] -- Fetch initial server version async to prevent blocking NewTracer for 10 seconds {pull}1239[#(1239)] -- Fix race in `apm.DefaultTracer` which could lead to multiple tracers being created {pull}1248[#(1248)] +- Replace `authorization` with `*auth*` pattern for sanitizing field names {pull}1230[#1230] +- Fetch initial server version async to prevent blocking NewTracer for 10 seconds {pull}1239[#1239] +- Fix race in `apm.DefaultTracer` which could lead to multiple tracers being created {pull}1248[#1248] [[release-notes-2.0.0]] ==== 2.0.0 - 2022/03/17 -- Record `transaction.name` on errors {pull}1177[#(1177)] -- Fix panic in apmgocql {pull}1180[#(1180)] -- Stop recording unused `transaction.duration.*` and `transaction.breakdown.count` metrics {pull}1167[#(1167)] -- Make tracestate parsing more lenient, according to W3c spec, allowing duplicate vendor keys {pull}1183[#(1183)] -- Introduced `transport.NewHTTPTransportOptions` {pull}1168[#(1168)] -- Change `ELASTIC_APM_SPAN_FRAMES_MIN_DURATION` special cases to match agent spec {pull}1188[#(1188)] -- Remove stacktrace.ContextSetter {pull}1187[#(1187)] -- Drop support for versions of Go prior to 1.15.0 {pull}1190[#(1190)] -- Replace apm.DefaultTracer with an initialization function {pull}1189[#(1189)] -- Remove transport.Default, construct a new Transport in each new tracer {pull}1195[#(1195)] -- Add service name and version to User-Agent header {pull}1196[#(1196)] -- Remove WarningLogger, add Warningf methe to Logger {pull}1205[#(1205)] -- Replace Sampler with ExtendedSampler {pull}1206[#(1206)] -- Drop unsampled txs when connected to an APM Server >= 8.0 {pull}1208[#(1208)] -- Removed SetTag {pull}1218[(#1218)] -- Unexport Tracer's fields -- TracerOptions must be used instead {pull}1219[#(1219)] +- Record `transaction.name` on errors {pull}1177[#1177] +- Fix panic in apmgocql {pull}1180[#1180] +- Stop recording unused `transaction.duration.*` and `transaction.breakdown.count` metrics {pull}1167[#1167] +- Make tracestate parsing more lenient, according to W3c spec, allowing duplicate vendor keys {pull}1183[#1183] +- Introduced `transport.NewHTTPTransportOptions` {pull}1168[#1168] +- Change `ELASTIC_APM_SPAN_FRAMES_MIN_DURATION` special cases to match agent spec {pull}1188[#1188] +- Remove stacktrace.ContextSetter {pull}1187[#1187] +- Drop support for versions of Go prior to 1.15.0 {pull}1190[#1190] +- Replace apm.DefaultTracer with an initialization function {pull}1189[#1189] +- Remove transport.Default, construct a new Transport in each new tracer {pull}1195[#1195] +- Add service name and version to User-Agent header {pull}1196[#1196] +- Remove WarningLogger, add Warningf methe to Logger {pull}1205[#1205] +- Replace Sampler with ExtendedSampler {pull}1206[#1206] +- Drop unsampled txs when connected to an APM Server >= 8.0 {pull}1208[#1208] +- Removed SetTag {pull}1218[#1218] +- Unexport Tracer's fields -- TracerOptions must be used instead {pull}1219[#1219] [[release-notes-1.x]] === Go Agent version 1.x @@ -64,41 +79,41 @@ https://github.com/elastic/apm-agent-go/compare/v2.1.0...main[View commits] [[release-notes-1.15.0]] ==== 1.15.0 - 2021/12/08 -- Deprecate `http.request.socket.encrypted` and stop recording it in `module/apmhttp`, `module/apmgrpc` and `module/apmfiber`. {pull}1129[#(1129)] -- Collect and send span destination service timing statistics about the dropped spans to the apm-server. {pull}1132[#(1132)] -- Experimental support to compress short exit spans into a composite span. Disabled by default. {pull}1134[#(1134)] -- Discard exit spans shorter or equal than `ELASTIC_APM_EXIT_SPAN_MIN_DURATION`. Defaults to `1ms`. {pull}1138[#(1138)] -- module/apmprometheus: add support for mapping prometheus histograms. {pull}1145[#(1145)] -- Fixed a bug where errors in cloud metadata discovery could lead to the process aborting during initialisation {pull}1158[#(1158)] -- Fixed a data race related to HTTP request header sanitisation {pull}1159[#(1159)] -- `apm.CaptureError`, `apm.Error.SetTransaction`, and `apm.Error.SetSpan` will now set the associated transaction or span's default outcome to "failure" {pull}1160[#(1160)] +- Deprecate `http.request.socket.encrypted` and stop recording it in `module/apmhttp`, `module/apmgrpc` and `module/apmfiber`. {pull}1129[#1129] +- Collect and send span destination service timing statistics about the dropped spans to the apm-server. {pull}1132[#1132] +- Experimental support to compress short exit spans into a composite span. Disabled by default. {pull}1134[#1134] +- Discard exit spans shorter or equal than `ELASTIC_APM_EXIT_SPAN_MIN_DURATION`. Defaults to `1ms`. {pull}1138[#1138] +- module/apmprometheus: add support for mapping prometheus histograms. {pull}1145[#1145] +- Fixed a bug where errors in cloud metadata discovery could lead to the process aborting during initialisation {pull}1158[#1158] +- Fixed a data race related to HTTP request header sanitisation {pull}1159[#1159] +- `apm.CaptureError`, `apm.Error.SetTransaction`, and `apm.Error.SetSpan` will now set the associated transaction or span's default outcome to "failure" {pull}1160[#1160] [[release-notes-1.14.0]] ==== 1.14.0 - 2021/09/22 -- span: automatically infer `destination.service.resource` information when the span is an exit span and deprecate `destination.service.name` and `destination.service.type` {pull}1003[#(1003)] -- module/apmhttp: add apmhttp.WithClientSpanType ClientOption to set the span type of http client requests {pull}1106[#(1106)] -- module/apmazure: introduce instrumentation module for Azure blob, queue, and file storage {pull}1109[#(1109)] -- module/apmelasticsearch: propagete `Traceparent` and `Tracestate` headers to Elasticsearch {pull}1002[#(1002)] -- module/apmfiber: introduce instrumentation module for Fiber web framework {pull}999[#(999)] -- module/apmawssdkgo: fix a bug where the module would panic when an unsupported service is used {pull}1006[#(1006)] -- module/apmfasthttp: report the correct HTTP Status Code instead of always reporting `200` {pull}1104[#(1104)] +- span: automatically infer `destination.service.resource` information when the span is an exit span and deprecate `destination.service.name` and `destination.service.type` {pull}1003[#1003] +- module/apmhttp: add apmhttp.WithClientSpanType ClientOption to set the span type of http client requests {pull}1106[#1106] +- module/apmazure: introduce instrumentation module for Azure blob, queue, and file storage {pull}1109[#1109] +- module/apmelasticsearch: propagete `Traceparent` and `Tracestate` headers to Elasticsearch {pull}1002[#1002] +- module/apmfiber: introduce instrumentation module for Fiber web framework {pull}999[#999] +- module/apmawssdkgo: fix a bug where the module would panic when an unsupported service is used {pull}1006[#1006] +- module/apmfasthttp: report the correct HTTP Status Code instead of always reporting `200` {pull}1104[#1104] [[release-notes-1.13.1]] ==== 1.13.1 - 2021/08/05 -- Fix concurrency bugs in breakdown metrics and module/apmhttp.WithClientTrace {pull}997[#(997)] +- Fix concurrency bugs in breakdown metrics and module/apmhttp.WithClientTrace {pull}997[#997] [[release-notes-1.13.0]] ==== 1.13.0 - 2021/07/28 -- 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)] +- 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] https://github.com/elastic/apm-agent-go/releases/tag/v1.12.0[View release] @@ -107,17 +122,17 @@ https://github.com/elastic/apm-agent-go/releases/tag/v1.12.0[View release] https://github.com/elastic/apm-agent-go/releases/tag/v1.12.0[View release] -- module/apmgrpc: fix status code to outcome mapping {pull}902[#(902)] -- module/apmawssdkgo: add support for instrumenting s3 RPC calls {pull}927[#(927)] -- module/apmawssdkgo: add support for instrumenting dynamodb RPC calls {pull}928[#(928)] -- SpanContext.SetDestinationService is a no-op if either Name or Resource is empty {pull}931[#(931)] -- module/apmawssdkgo: add support for instrumenting sqs RPC calls {pull}933[#(933)] -- module/apmawssdkgo: add support for instrumenting sns RPC calls {pull}938[#(938)] -- Parse "//" comments in SQL/CQL {pull}937[#(937)] -- Fix CaptureError to capture the request body when ELASTIC_APM_CAPTURE_BODY is enabled {pull}906[#(906)] -- module/apmgrpc: record underlying HTTP/2 context {pull}904[#(904)] -- module/apmot: handle http.host tag as url.Host {pull}954[#(954)] -- apm: add add ParentID methods to Span and Transaction {pull}956[#(956)] +- module/apmgrpc: fix status code to outcome mapping {pull}902[#902] +- module/apmawssdkgo: add support for instrumenting s3 RPC calls {pull}927[#927] +- module/apmawssdkgo: add support for instrumenting dynamodb RPC calls {pull}928[#928] +- SpanContext.SetDestinationService is a no-op if either Name or Resource is empty {pull}931[#931] +- module/apmawssdkgo: add support for instrumenting sqs RPC calls {pull}933[#933] +- module/apmawssdkgo: add support for instrumenting sns RPC calls {pull}938[#938] +- Parse "//" comments in SQL/CQL {pull}937[#937] +- Fix CaptureError to capture the request body when ELASTIC_APM_CAPTURE_BODY is enabled {pull}906[#906] +- module/apmgrpc: record underlying HTTP/2 context {pull}904[#904] +- module/apmot: handle http.host tag as url.Host {pull}954[#954] +- apm: add add ParentID methods to Span and Transaction {pull}956[#956] [[release-notes-1.11.0]] ==== 1.11.0 - 2021/02/01 @@ -131,101 +146,101 @@ https://github.com/elastic/apm-agent-go/releases/tag/v1.11.0[View release] https://github.com/elastic/apm-agent-go/releases/tag/v1.10.0[View release] -- module/apmsql: add tracingDriver.Unwrap method to get underlying driver {pull}#849[#(849)] -- module/apmgopgv10: add support for github.com/go-pg/pg/v10 {pull}857[(#857)] -- Enable central configuration of "sanitize_field_names" {pull}856[(#856)] -- module/apmgrpc: set span destination context {pull}861[(#861)] +- module/apmsql: add tracingDriver.Unwrap method to get underlying driver {pull}#849[#849] +- module/apmgopgv10: add support for github.com/go-pg/pg/v10 {pull}857[#857] +- Enable central configuration of "sanitize_field_names" {pull}856[#856] +- module/apmgrpc: set span destination context {pull}861[#861] [[release-notes-1.9.0]] ==== 1.9.0 - 2020/11/02 https://github.com/elastic/apm-agent-go/releases/tag/v1.9.0[View release] -- module/apmgoredisv8: introduce new package to support go-redis v8 {pull}780[#(780)] -- module/apmhttp: introduce httptrace client option {pull}788[#(788)] -- module/apmsql: add support for database/sql/driver.Validator {pull}791[#(791)] -- Record sample rate on transactions and spans, propagate through `tracestate` {pull}804[#(804)] -- module/apmredigo: change redigo dependency to v1.8.2 {pull}807[#(807)] -- Deprecate IGNORE_URLS, replace with TRANSACTION_IGNORE_URLS {pull}811[(#811)] -- Tracer.Close now waits for the transport goroutine to end before returning {pull}816[#(816)] -- Relax Kubernetes pod UID discovery rules {pull}819[#(819)] -- Add transaction and span outcome {pull}820[#(820)] -- Add cloud metadata, configurable with ELASTIC_APM_CLOUD_PROVIDER {pull}823[#(823)] -- Round ELASTIC_APM_SAMPLING_RATE with 4 digits precision {pull}828[#(828)] -- module/apmhttp: implement io.ReaderFrom in wrapped http.ResponseWriter {pull}830[#(830)] -- Fixed Transaction.Discard so that it sets TransactionData to nil {pull}836[#(836)] -- module/apmsql/pgxv4: add support for pgx driver {pull}831[#(831)] -- module/apmgormv2: add support for gorm.io (GORM v2) {pull}825[#(825)] +- module/apmgoredisv8: introduce new package to support go-redis v8 {pull}780[#780] +- module/apmhttp: introduce httptrace client option {pull}788[#788] +- module/apmsql: add support for database/sql/driver.Validator {pull}791[#791] +- Record sample rate on transactions and spans, propagate through `tracestate` {pull}804[#804] +- module/apmredigo: change redigo dependency to v1.8.2 {pull}807[#807] +- Deprecate IGNORE_URLS, replace with TRANSACTION_IGNORE_URLS {pull}811[#811] +- Tracer.Close now waits for the transport goroutine to end before returning {pull}816[#816] +- Relax Kubernetes pod UID discovery rules {pull}819[#819] +- Add transaction and span outcome {pull}820[#820] +- Add cloud metadata, configurable with ELASTIC_APM_CLOUD_PROVIDER {pull}823[#823] +- Round ELASTIC_APM_SAMPLING_RATE with 4 digits precision {pull}828[#828] +- module/apmhttp: implement io.ReaderFrom in wrapped http.ResponseWriter {pull}830[#830] +- Fixed Transaction.Discard so that it sets TransactionData to nil {pull}836[#836] +- module/apmsql/pgxv4: add support for pgx driver {pull}831[#831] +- module/apmgormv2: add support for gorm.io (GORM v2) {pull}825[#825] [[release-notes-1.8.0]] ==== 1.8.0 - 2020/05/06 https://github.com/elastic/apm-agent-go/releases/tag/v1.8.0[View release] -- Add "recording" config option, to dynamically disable event recording {pull}737[(#737)] -- Enable central configuration of "stack_frames_min_duration" and "stack_trace_limit" {pull}742[(#742)] -- Implement "CloseIdleConnections" on the Elasticsearch RoundTripper {pull}750[(#750)] -- Fix apmot nil pointer dereference in Tracer.Inject {pull}763[(#763)] +- Add "recording" config option, to dynamically disable event recording {pull}737[#737] +- Enable central configuration of "stack_frames_min_duration" and "stack_trace_limit" {pull}742[#742] +- Implement "CloseIdleConnections" on the Elasticsearch RoundTripper {pull}750[#750] +- Fix apmot nil pointer dereference in Tracer.Inject {pull}763[#763] [[release-notes-1.7.2]] ==== 1.7.2 - 2020/03/19 https://github.com/elastic/apm-agent-go/releases/tag/v1.7.2[View release] -- Update cucumber/godog to 0.8.1 {pull}733[(#733)] +- Update cucumber/godog to 0.8.1 {pull}733[#733] [[release-notes-1.7.1]] ==== 1.7.1 - 2020/03/05 https://github.com/elastic/apm-agent-go/releases/tag/v1.7.1[View release] -- Fix segfault on 32-bit architectures {pull}728[(#728)] +- Fix segfault on 32-bit architectures {pull}728[#728] [[release-notes-1.7.0]] ==== 1.7.0 - 2020/01/10 https://github.com/elastic/apm-agent-go/releases/tag/v1.7.0[View release] - - Add span.context.destination.* {pull}664[(#664)] - - transport: fix Content-Type for pprof data {pull}679[(#679)] - - Add "tracestate" propagation {pull}690[(#690)] - - Add support for API Key auth {pull}698[(#698)] - - module/apmsql: report rows affected {pull}700[(#700)] + - Add span.context.destination.* {pull}664[#664] + - transport: fix Content-Type for pprof data {pull}679[#679] + - Add "tracestate" propagation {pull}690[#690] + - Add support for API Key auth {pull}698[#698] + - module/apmsql: report rows affected {pull}700[#700] [[release-notes-1.6.0]] ==== 1.6.0 - 2019/11/17 https://github.com/elastic/apm-agent-go/releases/tag/v1.6.0[View release] - - module/apmhttp: add WithClientRequestName option {pull}609[(#609)] - - module/apmhttp: add WithPanicPropagation function {pull}611[(#611)] - - module/apmgoredis: add Client.RedisClient {pull}613[(#613)] - - Introduce apm.TraceFormatter, for formatting trace IDs {pull}635[(#635)] - - Report error cause(s), add support for errors.Unwrap {pull}638[(#638)] - - Setting `ELASTIC_APM_TRANSACTION_MAX_SPANS` to 0 now disables all spans {pull}640[(#640)] - - module/apmzerolog: add Writer.MinLevel {pull}641[(#641)] - - Introduce SetLabel and deprecate SetTag {pull}642[(#642)] - - Support central config for `ELASTIC_APM_CAPTURE_BODY` and `ELASTIC_APM_TRANSACTION_MAX_SPANS` {pull}648[(#648)] - - module/apmgorm: sql.ErrNoRows is no longer reported as an error {pull}645[(#645)] - - Server URL path is cleaned/canonicalizsed in order to avoid 301 redirects {pull}658[(#658)] - - `context.request.socket.remote_address` now reports the peer address {pull}662[(#662)] - - Experimental support for periodic CPU/heap profiling {pull}666[(#666)] - - module/apmnegroni: introduce tracing Negroni middleware {pull}671[(#671)] - - Unescape hyphens in k8s pod UIDs when the systemd cgroup driver is used {pull}672[(#672)] - - Read and propagate the standard W3C "traceparent" header {pull}674[(#674)] + - module/apmhttp: add WithClientRequestName option {pull}609[#609] + - module/apmhttp: add WithPanicPropagation function {pull}611[#611] + - module/apmgoredis: add Client.RedisClient {pull}613[#613] + - Introduce apm.TraceFormatter, for formatting trace IDs {pull}635[#635] + - Report error cause(s), add support for errors.Unwrap {pull}638[#638] + - Setting `ELASTIC_APM_TRANSACTION_MAX_SPANS` to 0 now disables all spans {pull}640[#640] + - module/apmzerolog: add Writer.MinLevel {pull}641[#641] + - Introduce SetLabel and deprecate SetTag {pull}642[#642] + - Support central config for `ELASTIC_APM_CAPTURE_BODY` and `ELASTIC_APM_TRANSACTION_MAX_SPANS` {pull}648[#648] + - module/apmgorm: sql.ErrNoRows is no longer reported as an error {pull}645[#645] + - Server URL path is cleaned/canonicalizsed in order to avoid 301 redirects {pull}658[#658] + - `context.request.socket.remote_address` now reports the peer address {pull}662[#662] + - Experimental support for periodic CPU/heap profiling {pull}666[#666] + - module/apmnegroni: introduce tracing Negroni middleware {pull}671[#671] + - Unescape hyphens in k8s pod UIDs when the systemd cgroup driver is used {pull}672[#672] + - Read and propagate the standard W3C "traceparent" header {pull}674[#674] [[release-notes-1.5.0]] ==== 1.5.0 - 2019/07/31 https://github.com/elastic/apm-agent-go/releases/tag/v1.5.0[View release] - - Add Context.SetCustom {pull}581[(#581)] - - Add support for extracting UUID-like container IDs {pull}577[(#577)] - - Introduce transaction/span breakdown metrics {pull}564[(#564)] - - Optimised HTTP request body capture {pull}592[(#592)] - - Fixed transaction encoding to drop tags (and other context) for non-sampled transactions {pull}593[(#593)] - - Introduce central config polling {pull}591[(#591)] - - Fixed apmgrpc client interceptor, propagating trace context for non-sampled transactions {pull}602[(#602)] + - Add Context.SetCustom {pull}581[#581] + - Add support for extracting UUID-like container IDs {pull}577[#577] + - Introduce transaction/span breakdown metrics {pull}564[#564] + - Optimised HTTP request body capture {pull}592[#592] + - Fixed transaction encoding to drop tags (and other context) for non-sampled transactions {pull}593[#593] + - Introduce central config polling {pull}591[#591] + - Fixed apmgrpc client interceptor, propagating trace context for non-sampled transactions {pull}602[#602] [[release-notes-1.4.0]] ==== 1.4.0 - 2019/06/20 @@ -233,67 +248,67 @@ https://github.com/elastic/apm-agent-go/releases/tag/v1.5.0[View release] https://github.com/elastic/apm-agent-go/releases/tag/v1.4.0[View release] - Update opentracing-go dependency to v1.1.0 - - Update HTTP routers to return " unknown route" if route cannot be matched {pull}486[(#486)] - - module/apmchi: introduce instrumentation for go-chi/chi router {pull}495[(#495)] - - module/apmgoredis: introduce instrumentation for the go-redis/redis client {pull}505[(#505)] - - module/apmsql: exposed the QuerySignature function {pull}515[(#515)] - - module/apmgopg: introduce instrumentation for the go-pg/pg ORM {pull}516[(#516)] - - module/apmmongo: set minimum Go version to Go 1.10 {pull}522[(#522)] - - internal/sqlscanner: bug fix for multi-byte rune handling {pull}535[(#535)] - - module/apmgrpc: added WithServerRequestIgnorer server option {pull}531[(#531)] - - Introduce `ELASTIC_APM_GLOBAL_LABELS` config {pull}539[(#539)] - - module/apmgorm: register `row_query` callbacks {pull}532[(#532)] - - Introduce `ELASTIC_APM_STACK_TRACE_LIMIT` config {pull}559[(#559)] - - Include agent name/version and Go version in User-Agent {pull}560[(#560)] - - Truncate `error.culprit` at 1024 chars {pull}561[(#561)] + - Update HTTP routers to return " unknown route" if route cannot be matched {pull}486[#486] + - module/apmchi: introduce instrumentation for go-chi/chi router {pull}495[#495] + - module/apmgoredis: introduce instrumentation for the go-redis/redis client {pull}505[#505] + - module/apmsql: exposed the QuerySignature function {pull}515[#515] + - module/apmgopg: introduce instrumentation for the go-pg/pg ORM {pull}516[#516] + - module/apmmongo: set minimum Go version to Go 1.10 {pull}522[#522] + - internal/sqlscanner: bug fix for multi-byte rune handling {pull}535[#535] + - module/apmgrpc: added WithServerRequestIgnorer server option {pull}531[#531] + - Introduce `ELASTIC_APM_GLOBAL_LABELS` config {pull}539[#539] + - module/apmgorm: register `row_query` callbacks {pull}532[#532] + - Introduce `ELASTIC_APM_STACK_TRACE_LIMIT` config {pull}559[#559] + - Include agent name/version and Go version in User-Agent {pull}560[#560] + - Truncate `error.culprit` at 1024 chars {pull}561[#561] [[release-notes-1.3.0]] ==== 1.3.0 - 2019/03/20 https://github.com/elastic/apm-agent-go/releases/tag/v1.3.0[View release] - - Rename "metricset.labels" to "metricset.tags" {pull}438[(#438)] - - Introduce `ELASTIC_APM_DISABLE_METRICS` to disable metrics with matching names {pull}439[(#439)] - - module/apmelasticsearch: introduce instrumentation for Elasticsearch clients {pull}445[(#445)] - - module/apmmongo: introduce instrumentation for the MongoDB Go Driver {pull}452[(#452)] - - Introduce ErrorDetailer interface {pull}453[(#453)] - - module/apmhttp: add CloseIdleConnectons and CancelRequest to RoundTripper {pull}457[(#457)] - - Allow specifying transaction (span) ID via TransactionOptions/SpanOptions {pull}463[(#463)] - - module/apmzerolog: introduce zerolog log correlation and exception-tracking writer {pull}428[(#428)] - - module/apmelasticsearch: capture body for \_msearch, template and rollup search {pull}470[(#470)] - - Ended Transactions/Spans may now be used as parents {pull}478[(#478)] - - Introduce apm.DetachedContext for async/fire-and-forget trace propagation {pull}481[(#481)] - - module/apmechov4: add a copy of apmecho supporting echo/v4 {pull}477[(#477)] + - Rename "metricset.labels" to "metricset.tags" {pull}438[#438] + - Introduce `ELASTIC_APM_DISABLE_METRICS` to disable metrics with matching names {pull}439[#439] + - module/apmelasticsearch: introduce instrumentation for Elasticsearch clients {pull}445[#445] + - module/apmmongo: introduce instrumentation for the MongoDB Go Driver {pull}452[#452] + - Introduce ErrorDetailer interface {pull}453[#453] + - module/apmhttp: add CloseIdleConnectons and CancelRequest to RoundTripper {pull}457[#457] + - Allow specifying transaction (span) ID via TransactionOptions/SpanOptions {pull}463[#463] + - module/apmzerolog: introduce zerolog log correlation and exception-tracking writer {pull}428[#428] + - module/apmelasticsearch: capture body for \_msearch, template and rollup search {pull}470[#470] + - Ended Transactions/Spans may now be used as parents {pull}478[#478] + - Introduce apm.DetachedContext for async/fire-and-forget trace propagation {pull}481[#481] + - module/apmechov4: add a copy of apmecho supporting echo/v4 {pull}477[#477] [[release-notes-1.2.0]] ==== 1.2.0 - 2019/01/17 https://github.com/elastic/apm-agent-go/releases/tag/v1.2.0[View release] - - Add "transaction.sampled" to errors {pull}410[(#410)] - - Enforce license header in source files with go-licenser {pull}411[(#411)] - - module/apmot: ignore "follows-from" span references {pull}414[(#414)] - - module/apmot: report error log records {pull}415[(#415)] - - Introduce `ELASTIC_APM_CAPTURE_HEADERS` to control HTTP header capture {pull}418[(#418)] - - module/apmzap: introduce zap log correlation and exception-tracking hook {pull}426[(#426)] - - type Error implements error interface {pull}399[(#399)] - - Add "transaction.type" to errors {pull}433[(#433)] - - Added instrumentation-specific Go modules (i.e. one for each package under apm/module) {pull}405[(#405)] + - Add "transaction.sampled" to errors {pull}410[#410] + - Enforce license header in source files with go-licenser {pull}411[#411] + - module/apmot: ignore "follows-from" span references {pull}414[#414] + - module/apmot: report error log records {pull}415[#415] + - Introduce `ELASTIC_APM_CAPTURE_HEADERS` to control HTTP header capture {pull}418[#418] + - module/apmzap: introduce zap log correlation and exception-tracking hook {pull}426[#426] + - type Error implements error interface {pull}399[#399] + - Add "transaction.type" to errors {pull}433[#433] + - Added instrumentation-specific Go modules (i.e. one for each package under apm/module) {pull}405[#405] [[release-notes-1.1.3]] ==== 1.1.3 - 2019/01/06 https://github.com/elastic/apm-agent-go/releases/tag/v1.1.3[View release] - - Remove the `agent.*` metrics {pull}407[(#407)] - - Add support for new github.com/pkg/errors.Frame type {pull}409[(#409)] + - Remove the `agent.*` metrics {pull}407[#407] + - Add support for new github.com/pkg/errors.Frame type {pull}409[#409] [[release-notes-1.1.2]] ==== 1.1.2 - 2019/01/03 https://github.com/elastic/apm-agent-go/releases/tag/v1.1.2[View release] - - Fix data race between Tracer.Active and Tracer.loop {pull}406[(#406)] + - Fix data race between Tracer.Active and Tracer.loop {pull}406[#406] [[release-notes-1.1.1]] ==== 1.1.1 - 2018/12/13 @@ -307,56 +322,56 @@ https://github.com/elastic/apm-agent-go/releases/tag/v1.1.1[View release] https://github.com/elastic/apm-agent-go/releases/tag/v1.1.0[View release] - - Stop pooling Transaction/Span/Error, introduce internal pooled objects {pull}319[(#319)] - - Enable metrics collection with default interval of 30s {pull}322[(#322)] - - `ELASTIC_APM_SERVER_CERT` enables server certificate pinning {pull}325[(#325)] - - Add Docker container ID to metadata {pull}330[(#330)] - - Added distributed trace context propagation to apmgrpc {pull}335[(#335)] - - Introduce `Span.Subtype`, `Span.Action` {pull}332[(#332)] - - apm.StartSpanOptions fixed to stop ignoring options {pull}326[(#326)] - - Add Kubernetes pod info to metadata {pull}342[(#342)] + - Stop pooling Transaction/Span/Error, introduce internal pooled objects {pull}319[#319] + - Enable metrics collection with default interval of 30s {pull}322[#322] + - `ELASTIC_APM_SERVER_CERT` enables server certificate pinning {pull}325[#325] + - Add Docker container ID to metadata {pull}330[#330] + - Added distributed trace context propagation to apmgrpc {pull}335[#335] + - Introduce `Span.Subtype`, `Span.Action` {pull}332[#332] + - apm.StartSpanOptions fixed to stop ignoring options {pull}326[#326] + - Add Kubernetes pod info to metadata {pull}342[#342] - module/apmsql: don't report driver.ErrBadConn, context.Canceled (#346, #348) - - Added ErrorLogRecord.Error field, for associating an error value with a log record {pull}380[(#380)] - - module/apmlogrus: introduce logrus exception-tracking hook, and log correlation {pull}381[(#381)] - - module/apmbeego: introduce Beego instrumentation module {pull}386[(#386)] - - module/apmhttp: report status code for client spans {pull}388[(#388)] + - Added ErrorLogRecord.Error field, for associating an error value with a log record {pull}380[#380] + - module/apmlogrus: introduce logrus exception-tracking hook, and log correlation {pull}381[#381] + - module/apmbeego: introduce Beego instrumentation module {pull}386[#386] + - module/apmhttp: report status code for client spans {pull}388[#388] [[release-notes-1.0.0]] ==== 1.0.0 - 2018/11/14 https://github.com/elastic/apm-agent-go/releases/tag/v1.0.0[View release] - - Implement v2 intake protocol {pull}180[(#180)] - - Unexport Transaction.Timestamp and Span.Timestamp {pull}207[(#207)] - - Add jitter (+/-10%) to backoff on transport error {pull}212[(#212)] - - Add support for span tags {pull}213[(#213)] - - Require units for size configuration {pull}223[(#223)] - - Require units for duration configuration {pull}211[(#211)] - - Add support for multiple server URLs with failover {pull}233[(#233)] - - Add support for mixing OpenTracing spans with native transactions/spans {pull}235[(#235)] - - Drop SetHTTPResponseHeadersSent and SetHTTPResponseFinished methods from Context {pull}238[(#238)] - - Stop setting custom context (gin.handler) in apmgin {pull}238[(#238)] - - Set response context in errors reported by web modules {pull}238[(#238)] - - module/apmredigo: introduce gomodule/redigo instrumentation {pull}248[(#248)] - - Update Sampler interface to take TraceContext {pull}243[(#243)] + - Implement v2 intake protocol {pull}180[#180] + - Unexport Transaction.Timestamp and Span.Timestamp {pull}207[#207] + - Add jitter (+/-10%) to backoff on transport error {pull}212[#212] + - Add support for span tags {pull}213[#213] + - Require units for size configuration {pull}223[#223] + - Require units for duration configuration {pull}211[#211] + - Add support for multiple server URLs with failover {pull}233[#233] + - Add support for mixing OpenTracing spans with native transactions/spans {pull}235[#235] + - Drop SetHTTPResponseHeadersSent and SetHTTPResponseFinished methods from Context {pull}238[#238] + - Stop setting custom context (gin.handler) in apmgin {pull}238[#238] + - Set response context in errors reported by web modules {pull}238[#238] + - module/apmredigo: introduce gomodule/redigo instrumentation {pull}248[#248] + - Update Sampler interface to take TraceContext {pull}243[#243] - Truncate SQL statements to a maximum of 10000 chars, all other strings to 1024 (#244, #276) - - Add leading slash to URLs in transaction/span context {pull}250[(#250)] - - Add `Transaction.Context` method for setting framework {pull}252[(#252)] - - Timestamps are now reported as usec since epoch, spans no longer use "start" offset {pull}257[(#257)] - - `ELASTIC_APM_SANITIZE_FIELD_NAMES` and `ELASTIC_APM_IGNORE_URLS` now use wildcard matching {pull}260[(#260)] - - Changed top-level package name to "apm", and canonical import path to "go.elastic.co/apm" {pull}202[(#202)] - - module/apmrestful: introduce emicklei/go-restful instrumentation {pull}270[(#270)] - - Fix panic handling in web instrumentations {pull}273[(#273)] - - Migrate internal/fastjson to go.elastic.co/fastjson {pull}275[(#275)] - - Report all HTTP request/response headers {pull}280[(#280)] - - Drop Context.SetCustom {pull}284[(#284)] - - Reuse memory for tags {pull}286[(#286)] - - Return a more helpful error message when /intake/v2/events 404s, to detect old servers {pull}290[(#290)] - - Implement test service for w3c/distributed-tracing test harness {pull}293[(#293)] - - End HTTP client spans on response body closure {pull}289[(#289)] - - module/apmgrpc requires Go 1.9+ {pull}300[(#300)] - - Invalid tag key characters are replaced with underscores {pull}308[(#308)] - - `ELASTIC_APM_LOG_FILE` and `ELASTIC_APM_LOG_LEVEL` introduced {pull}313[(#313)] + - Add leading slash to URLs in transaction/span context {pull}250[#250] + - Add `Transaction.Context` method for setting framework {pull}252[#252] + - Timestamps are now reported as usec since epoch, spans no longer use "start" offset {pull}257[#257] + - `ELASTIC_APM_SANITIZE_FIELD_NAMES` and `ELASTIC_APM_IGNORE_URLS` now use wildcard matching {pull}260[#260] + - Changed top-level package name to "apm", and canonical import path to "go.elastic.co/apm" {pull}202[#202] + - module/apmrestful: introduce emicklei/go-restful instrumentation {pull}270[#270] + - Fix panic handling in web instrumentations {pull}273[#273] + - Migrate internal/fastjson to go.elastic.co/fastjson {pull}275[#275] + - Report all HTTP request/response headers {pull}280[#280] + - Drop Context.SetCustom {pull}284[#284] + - Reuse memory for tags {pull}286[#286] + - Return a more helpful error message when /intake/v2/events 404s, to detect old servers {pull}290[#290] + - Implement test service for w3c/distributed-tracing test harness {pull}293[#293] + - End HTTP client spans on response body closure {pull}289[#289] + - module/apmgrpc requires Go 1.9+ {pull}300[#300] + - Invalid tag key characters are replaced with underscores {pull}308[#308] + - `ELASTIC_APM_LOG_FILE` and `ELASTIC_APM_LOG_LEVEL` introduced {pull}313[#313] [[release-notes-0.x]] === Go Agent version 0.x @@ -366,36 +381,36 @@ https://github.com/elastic/apm-agent-go/releases/tag/v1.0.0[View release] https://github.com/elastic/apm-agent-go/releases/tag/v0.5.2[View release] - - Fixed premature Span.End() in apmgorm callback, causing a data-race with captured errors {pull}229[(#229)] + - Fixed premature Span.End() in apmgorm callback, causing a data-race with captured errors {pull}229[#229] [[release-notes-0.5.1]] ==== 0.5.1 - 2018/09/05 https://github.com/elastic/apm-agent-go/releases/tag/v0.5.1[View release] - - Fixed a bug causing error stacktraces and culprit to sometimes not be set {pull}204[(#204)] + - Fixed a bug causing error stacktraces and culprit to sometimes not be set {pull}204[#204] [[release-notes-0.5.0]] ==== 0.5.0 - 2018/08/27 https://github.com/elastic/apm-agent-go/releases/tag/v0.5.0[View release] - - `ELASTIC_APM_SERVER_URL` now defaults to "http://localhost:8200" {pull}122[(#122)] - - `Transport.SetUserAgent` method added, enabling the User-Agent to be set programatically {pull}124[(#124)] - - Inlined functions are now properly reported in stacktraces {pull}127[(#127)] - - Support for the experimental metrics API added {pull}94[(#94)] - - module/apmsql: SQL is parsed to generate more useful span names {pull}129[(#129)] - - Basic vgo module added {pull}136[(#136)] - - module/apmhttprouter: added a wrapper type for `httprouter.Router` to simplify adding routes {pull}140[(#140)] - - Add `Transaction.Context` methods for setting user IDs {pull}144[(#144)] - - module/apmgocql: new instrumentation module, providing an observer for gocql {pull}148[(#148)] - - Add `ELASTIC_APM_SERVER_TIMEOUT` config {pull}157[(#157)] - - Add `ELASTIC_APM_IGNORE_URLS` config {pull}158[(#158)] - - module/apmsql: fix a bug preventing errors from being captured {pull}160[(#160)] - - Introduce `Tracer.StartTransactionOptions`, drop variadic args from `Tracer.StartTransaction` {pull}165[(#165)] + - `ELASTIC_APM_SERVER_URL` now defaults to "http://localhost:8200" {pull}122[#122] + - `Transport.SetUserAgent` method added, enabling the User-Agent to be set programatically {pull}124[#124] + - Inlined functions are now properly reported in stacktraces {pull}127[#127] + - Support for the experimental metrics API added {pull}94[#94] + - module/apmsql: SQL is parsed to generate more useful span names {pull}129[#129] + - Basic vgo module added {pull}136[#136] + - module/apmhttprouter: added a wrapper type for `httprouter.Router` to simplify adding routes {pull}140[#140] + - Add `Transaction.Context` methods for setting user IDs {pull}144[#144] + - module/apmgocql: new instrumentation module, providing an observer for gocql {pull}148[#148] + - Add `ELASTIC_APM_SERVER_TIMEOUT` config {pull}157[#157] + - Add `ELASTIC_APM_IGNORE_URLS` config {pull}158[#158] + - module/apmsql: fix a bug preventing errors from being captured {pull}160[#160] + - Introduce `Tracer.StartTransactionOptions`, drop variadic args from `Tracer.StartTransaction` {pull}165[#165] - module/apmgorm: introduce GORM instrumentation module (#169, #170) - - module/apmhttp: record outgoing request URLs in span context {pull}172[(#172)] - - module/apmot: introduce OpenTracing implementation {pull}173[(#173)] + - module/apmhttp: record outgoing request URLs in span context {pull}172[#172] + - module/apmot: introduce OpenTracing implementation {pull}173[#173] [[release-notes-0.4.0]] ==== 0.4.0 - 2018/06/17 diff --git a/internal/apmgodog/go.mod b/internal/apmgodog/go.mod index b62e254c6..985434501 100644 --- a/internal/apmgodog/go.mod +++ b/internal/apmgodog/go.mod @@ -5,8 +5,8 @@ go 1.13 require ( github.com/cucumber/godog v0.12.2 go.elastic.co/apm/module/apmgrpc/v2 v2.1.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 go.elastic.co/fastjson v1.1.0 google.golang.org/grpc v1.21.1 ) diff --git a/internal/apmversion/version.go b/internal/apmversion/version.go index 3c3caa6e7..f71a609ba 100644 --- a/internal/apmversion/version.go +++ b/internal/apmversion/version.go @@ -19,5 +19,5 @@ package apmversion const ( // AgentVersion is the Elastic APM Go Agent version. - AgentVersion = "2.1.0" + AgentVersion = "2.2.0" ) diff --git a/module/apmawssdkgo/go.mod b/module/apmawssdkgo/go.mod index 7885d8093..fc21e5f0c 100644 --- a/module/apmawssdkgo/go.mod +++ b/module/apmawssdkgo/go.mod @@ -5,8 +5,8 @@ go 1.15 require ( github.com/aws/aws-sdk-go v1.38.14 github.com/stretchr/testify v1.7.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmazure/go.mod b/module/apmazure/go.mod index aff407c9e..f6f0f01d5 100644 --- a/module/apmazure/go.mod +++ b/module/apmazure/go.mod @@ -8,8 +8,8 @@ require ( github.com/Azure/azure-storage-file-go v0.8.0 github.com/Azure/azure-storage-queue-go v0.0.0-20191125232315-636801874cdd github.com/stretchr/testify v1.7.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect ) diff --git a/module/apmbeego/go.mod b/module/apmbeego/go.mod index d5c53c62f..8849a4939 100644 --- a/module/apmbeego/go.mod +++ b/module/apmbeego/go.mod @@ -3,9 +3,9 @@ module go.elastic.co/apm/module/apmbeego/v2 require ( github.com/astaxie/beego v1.12.3 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/module/apmchi/go.mod b/module/apmchi/go.mod index fbc9f1391..00e0f4718 100644 --- a/module/apmchi/go.mod +++ b/module/apmchi/go.mod @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmchi/v2 require ( github.com/go-chi/chi v1.5.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmchiv5/go.mod b/module/apmchiv5/go.mod index 6e715c1e4..26aa6cffd 100644 --- a/module/apmchiv5/go.mod +++ b/module/apmchiv5/go.mod @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmchiv5/v2 require ( github.com/go-chi/chi/v5 v5.0.2 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmecho/go.mod b/module/apmecho/go.mod index 064a18ef7..06ffe93f6 100644 --- a/module/apmecho/go.mod +++ b/module/apmecho/go.mod @@ -9,8 +9,8 @@ require ( github.com/stretchr/testify v1.6.1 github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4 // indirect - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 // indirect ) diff --git a/module/apmechov4/go.mod b/module/apmechov4/go.mod index d1c4e5289..05b2cd6c4 100644 --- a/module/apmechov4/go.mod +++ b/module/apmechov4/go.mod @@ -4,8 +4,8 @@ require ( github.com/labstack/echo/v4 v4.6.1 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmelasticsearch/go.mod b/module/apmelasticsearch/go.mod index ac3150876..ecc027a1c 100644 --- a/module/apmelasticsearch/go.mod +++ b/module/apmelasticsearch/go.mod @@ -2,8 +2,8 @@ module go.elastic.co/apm/module/apmelasticsearch/v2 require ( github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f ) diff --git a/module/apmelasticsearch/internal/integration/go.mod b/module/apmelasticsearch/internal/integration/go.mod index 0bbcd01af..0cc7b5977 100644 --- a/module/apmelasticsearch/internal/integration/go.mod +++ b/module/apmelasticsearch/internal/integration/go.mod @@ -7,7 +7,7 @@ require ( github.com/olivere/elastic v6.2.16+incompatible github.com/stretchr/testify v1.6.1 go.elastic.co/apm/module/apmelasticsearch/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../../../.. diff --git a/module/apmfasthttp/go.mod b/module/apmfasthttp/go.mod index f7961f909..3656541cc 100644 --- a/module/apmfasthttp/go.mod +++ b/module/apmfasthttp/go.mod @@ -6,8 +6,8 @@ require ( github.com/stretchr/testify v1.6.1 github.com/valyala/bytebufferpool v1.0.0 github.com/valyala/fasthttp v1.34.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace ( diff --git a/module/apmfiber/go.mod b/module/apmfiber/go.mod index a3f17be4a..68af822a1 100644 --- a/module/apmfiber/go.mod +++ b/module/apmfiber/go.mod @@ -5,9 +5,9 @@ require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.7.0 github.com/valyala/fasthttp v1.34.0 - go.elastic.co/apm/module/apmfasthttp/v2 v2.1.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmfasthttp/v2 v2.2.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgin/go.mod b/module/apmgin/go.mod index 1d48a6a59..7207708e6 100644 --- a/module/apmgin/go.mod +++ b/module/apmgin/go.mod @@ -4,8 +4,8 @@ require ( github.com/gin-gonic/gin v1.7.2 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgocql/go.mod b/module/apmgocql/go.mod index ba0aaad61..7527ab67f 100644 --- a/module/apmgocql/go.mod +++ b/module/apmgocql/go.mod @@ -5,7 +5,7 @@ require ( github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect github.com/gocql/gocql v0.0.0-20181124151448-70385f88b28b github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgokit/go.mod b/module/apmgokit/go.mod index d9acd91bf..3fdf1b0d3 100644 --- a/module/apmgokit/go.mod +++ b/module/apmgokit/go.mod @@ -6,9 +6,9 @@ require ( github.com/go-stack/stack v1.8.0 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmgrpc/v2 v2.1.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmgrpc/v2 v2.2.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f google.golang.org/grpc v1.17.0 ) diff --git a/module/apmgometrics/go.mod b/module/apmgometrics/go.mod index 0dc8c5d86..e6f177405 100644 --- a/module/apmgometrics/go.mod +++ b/module/apmgometrics/go.mod @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmgometrics/v2 require ( github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgopg/go.mod b/module/apmgopg/go.mod index de5deb492..098a7a86c 100644 --- a/module/apmgopg/go.mod +++ b/module/apmgopg/go.mod @@ -6,8 +6,8 @@ require ( github.com/onsi/ginkgo v1.16.5 // indirect github.com/onsi/gomega v1.18.1 // indirect github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 mellium.im/sasl v0.2.1 // indirect ) diff --git a/module/apmgopgv10/go.mod b/module/apmgopgv10/go.mod index c9bcc21f5..f87a94678 100644 --- a/module/apmgopgv10/go.mod +++ b/module/apmgopgv10/go.mod @@ -4,8 +4,8 @@ require ( github.com/go-pg/pg/v10 v10.7.3 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgoredis/go.mod b/module/apmgoredis/go.mod index 3acf9dfb9..b12bd78c6 100644 --- a/module/apmgoredis/go.mod +++ b/module/apmgoredis/go.mod @@ -7,7 +7,7 @@ require ( github.com/onsi/ginkgo v1.8.0 // indirect github.com/onsi/gomega v1.5.0 // indirect github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/module/apmgoredisv8/go.mod b/module/apmgoredisv8/go.mod index 404d6ffa1..0226e82ac 100644 --- a/module/apmgoredisv8/go.mod +++ b/module/apmgoredisv8/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/go-redis/redis/v8 v8.11.4 github.com/stretchr/testify v1.7.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgorilla/go.mod b/module/apmgorilla/go.mod index 2750248e3..afd345af4 100644 --- a/module/apmgorilla/go.mod +++ b/module/apmgorilla/go.mod @@ -4,8 +4,8 @@ require ( github.com/gorilla/context v1.1.1 // indirect github.com/gorilla/mux v1.6.2 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgorm/go.mod b/module/apmgorm/go.mod index c0e644be3..bc6430b59 100644 --- a/module/apmgorm/go.mod +++ b/module/apmgorm/go.mod @@ -5,8 +5,8 @@ require ( github.com/jinzhu/gorm v1.9.10 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmgormv2/go.mod b/module/apmgormv2/go.mod index 96826b569..1ef45341d 100644 --- a/module/apmgormv2/go.mod +++ b/module/apmgormv2/go.mod @@ -2,8 +2,8 @@ module go.elastic.co/apm/module/apmgormv2/v2 require ( github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 gorm.io/driver/mysql v1.0.2 gorm.io/driver/postgres v1.0.2 gorm.io/driver/sqlite v1.1.4-0.20200928065301-698e250a3b0d diff --git a/module/apmgrpc/go.mod b/module/apmgrpc/go.mod index 80d0eefc8..72e84b5b5 100644 --- a/module/apmgrpc/go.mod +++ b/module/apmgrpc/go.mod @@ -4,8 +4,8 @@ require ( github.com/golang/protobuf v1.2.0 github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f google.golang.org/grpc v1.17.0 ) diff --git a/module/apmhttp/go.mod b/module/apmhttp/go.mod index 3f8153f23..1d7ebcfe5 100644 --- a/module/apmhttp/go.mod +++ b/module/apmhttp/go.mod @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmhttp/v2 require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f ) diff --git a/module/apmhttprouter/go.mod b/module/apmhttprouter/go.mod index 4abe7a41c..737d213cf 100644 --- a/module/apmhttprouter/go.mod +++ b/module/apmhttprouter/go.mod @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmhttprouter/v2 require ( github.com/julienschmidt/httprouter v1.2.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmlambda/go.mod b/module/apmlambda/go.mod index 41008cdbf..d149c0b7a 100644 --- a/module/apmlambda/go.mod +++ b/module/apmlambda/go.mod @@ -2,7 +2,7 @@ module go.elastic.co/apm/module/apmlambda/v2 require ( github.com/aws/aws-lambda-go v1.8.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmlogrus/go.mod b/module/apmlogrus/go.mod index 5197c9445..63bff1da5 100644 --- a/module/apmlogrus/go.mod +++ b/module/apmlogrus/go.mod @@ -4,7 +4,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.2.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 // indirect ) diff --git a/module/apmmongo/go.mod b/module/apmmongo/go.mod index fc0c10786..004a3f694 100644 --- a/module/apmmongo/go.mod +++ b/module/apmmongo/go.mod @@ -2,7 +2,7 @@ module go.elastic.co/apm/module/apmmongo/v2 require ( github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 go.mongodb.org/mongo-driver v1.5.1 ) diff --git a/module/apmnegroni/go.mod b/module/apmnegroni/go.mod index 755a93e7d..32e947aa3 100644 --- a/module/apmnegroni/go.mod +++ b/module/apmnegroni/go.mod @@ -5,8 +5,8 @@ go 1.15 require ( github.com/stretchr/testify v1.6.1 github.com/urfave/negroni v1.0.0 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmot/go.mod b/module/apmot/go.mod index 82cfe1043..f7d45b591 100644 --- a/module/apmot/go.mod +++ b/module/apmot/go.mod @@ -3,8 +3,8 @@ module go.elastic.co/apm/module/apmot/v2 require ( github.com/opentracing/opentracing-go v1.1.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmpgx/go.mod b/module/apmpgx/go.mod index 1d4cb6860..09cad3439 100644 --- a/module/apmpgx/go.mod +++ b/module/apmpgx/go.mod @@ -5,8 +5,8 @@ go 1.15 require ( github.com/jackc/pgx/v4 v4.17.0 github.com/stretchr/testify v1.8.0 - go.elastic.co/apm/module/apmsql/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmsql/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmprometheus/go.mod b/module/apmprometheus/go.mod index 8a0948f6c..f3e13741a 100644 --- a/module/apmprometheus/go.mod +++ b/module/apmprometheus/go.mod @@ -5,7 +5,7 @@ require ( github.com/prometheus/client_golang v0.9.2 github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmredigo/go.mod b/module/apmredigo/go.mod index 4cd4cc4bd..699c2c676 100644 --- a/module/apmredigo/go.mod +++ b/module/apmredigo/go.mod @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmredigo/v2 require ( github.com/gomodule/redigo v1.8.2 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmrestful/go.mod b/module/apmrestful/go.mod index 2d37ec910..0e2aa591d 100644 --- a/module/apmrestful/go.mod +++ b/module/apmrestful/go.mod @@ -6,8 +6,8 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.1 // indirect github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmrestfulv3/go.mod b/module/apmrestfulv3/go.mod index ae664bc63..4953ff2bb 100644 --- a/module/apmrestfulv3/go.mod +++ b/module/apmrestfulv3/go.mod @@ -4,8 +4,8 @@ require ( github.com/emicklei/go-restful/v3 v3.8.0 github.com/json-iterator/go v1.1.11 // indirect github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/module/apmhttp/v2 v2.1.0 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/module/apmhttp/v2 v2.2.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmsql/go.mod b/module/apmsql/go.mod index 2a3720efe..2958f2cab 100644 --- a/module/apmsql/go.mod +++ b/module/apmsql/go.mod @@ -6,7 +6,7 @@ require ( github.com/lib/pq v1.3.0 github.com/mattn/go-sqlite3 v1.10.0 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/module/apmzap/go.mod b/module/apmzap/go.mod index faa1a6df1..8a9353b40 100644 --- a/module/apmzap/go.mod +++ b/module/apmzap/go.mod @@ -3,7 +3,7 @@ module go.elastic.co/apm/module/apmzap/v2 require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 go.uber.org/atomic v1.3.2 // indirect go.uber.org/multierr v1.1.0 // indirect go.uber.org/zap v1.9.1 diff --git a/module/apmzerolog/go.mod b/module/apmzerolog/go.mod index cae23c282..c09967549 100644 --- a/module/apmzerolog/go.mod +++ b/module/apmzerolog/go.mod @@ -4,7 +4,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.14.3 github.com/stretchr/testify v1.6.1 - go.elastic.co/apm/v2 v2.1.0 + go.elastic.co/apm/v2 v2.2.0 ) replace go.elastic.co/apm/v2 => ../.. diff --git a/version.go b/version.go index a7fd037f5..2885fbd91 100644 --- a/version.go +++ b/version.go @@ -19,5 +19,5 @@ package apm // import "go.elastic.co/apm/v2" const ( // AgentVersion is the Elastic APM Go Agent version. - AgentVersion = "2.1.0" + AgentVersion = "2.2.0" )