From 1765c5a6ccf22a9fc444df1002fc8f55ca0dcac7 Mon Sep 17 00:00:00 2001 From: Emilio Garcia Date: Thu, 19 Oct 2023 14:25:26 -0400 Subject: [PATCH 1/2] cleanup for 3.27.0 release' --- v3/go.mod | 1 - v3/integrations/nrgraphqlgo/go.mod | 16 ---------------- v3/newrelic/transaction.go | 1 - 3 files changed, 18 deletions(-) diff --git a/v3/go.mod b/v3/go.mod index dbef3bf7d..02c244f6b 100644 --- a/v3/go.mod +++ b/v3/go.mod @@ -8,7 +8,6 @@ require ( google.golang.org/grpc v1.54.0 ) - retract v3.22.0 // release process error corrected in v3.22.1 retract v3.25.0 // release process error corrected in v3.25.1 diff --git a/v3/integrations/nrgraphqlgo/go.mod b/v3/integrations/nrgraphqlgo/go.mod index 50f53434f..e6eb1f0f6 100644 --- a/v3/integrations/nrgraphqlgo/go.mod +++ b/v3/integrations/nrgraphqlgo/go.mod @@ -6,19 +6,3 @@ require ( github.com/graphql-go/graphql v0.8.1 github.com/newrelic/go-agent/v3 v3.26.0 ) - -require ( - github.com/andybalholm/brotli v1.0.5 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/klauspost/compress v1.16.3 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.49.0 // indirect - golang.org/x/net v0.8.0 // indirect - golang.org/x/sys v0.6.0 // indirect - golang.org/x/text v0.8.0 // indirect - google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect - google.golang.org/grpc v1.54.0 // indirect - google.golang.org/protobuf v1.28.1 // indirect -) - -replace github.com/newrelic/go-agent/v3 => ../.. diff --git a/v3/newrelic/transaction.go b/v3/newrelic/transaction.go index d553f68b1..d1d519c63 100644 --- a/v3/newrelic/transaction.go +++ b/v3/newrelic/transaction.go @@ -352,7 +352,6 @@ func (txn *Transaction) InsertDistributedTraceHeaders(hdrs http.Header) { if txn == nil || txn.thread == nil { return } - txn.thread.CreateDistributedTracePayload(hdrs) } From 8ff7dc7cb5fc13eabc9adb6d8924ca605d1afa7d Mon Sep 17 00:00:00 2001 From: Emilio Garcia Date: Thu, 19 Oct 2023 14:31:29 -0400 Subject: [PATCH 2/2] supportability metrics nramqp --- v3/integrations/nramqp/nramqp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v3/integrations/nramqp/nramqp.go b/v3/integrations/nramqp/nramqp.go index 7fd3ab258..2be8e7634 100644 --- a/v3/integrations/nramqp/nramqp.go +++ b/v3/integrations/nramqp/nramqp.go @@ -14,6 +14,8 @@ const ( RabbitMQLibrary = "RabbitMQ" ) +func init() { internal.TrackUsage("integration", "messagebroker", "nramqp") } + func creatProducerSegment(exchange, key string) *newrelic.MessageProducerSegment { s := newrelic.MessageProducerSegment{ Library: RabbitMQLibrary,