Skip to content

Commit

Permalink
Release 2.4.0 (#1417)
Browse files Browse the repository at this point in the history
* bump minor version

* add 2.4.0 changelog entry

* remove EOL table update

* upgrade version.go too

* update modules

* Update internal/apmgodog/go.mod

Co-authored-by: Vishal Raj <[email protected]>

---------

Co-authored-by: Vishal Raj <[email protected]>
  • Loading branch information
dmathieu and lahsivjar authored Apr 27, 2023
1 parent 932e751 commit 27a3571
Show file tree
Hide file tree
Showing 46 changed files with 82 additions and 77 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ endif::[]
[[unreleased]]
=== Unreleased
https://github.com/elastic/apm-agent-go/compare/v2.3.0...main[View commits]
https://github.com/elastic/apm-agent-go/compare/v2.4.0...main[View commits]
[[release-notes-2.x]]
=== Go Agent version 2.x
[[release-notes-2.4.0]]
==== 2.4.0 - 2023/04/26
- Add bridge to support OpenTelemetry metrics {pull}1407[#1407]
- Add custom SDK support OpenTelemetry traces {pull}1410[#1410]
[[release-notes-2.3.0]]
==== 2.3.0 - 2023/03/30
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ For example, APM Server version `7.15.0` corresponds with the Go APM Agent versi

1. Update `version.go` and `internal/apmversion/version.go`, and then run `make update-modules`
2. Update [`CHANGELOG.asciidoc`](changelog.asciidoc), by adding a new version heading (`==== 1.x.x - yyyy/MM/dd`) and changing the base tag of the Unreleased comparison URL
3. For major and minor releases, update the EOL table in [`upgrading.asciidoc`](docs/upgrading.asciidoc).
4. Merge changes into github.com/elastic/apm-agent-go@main
5. Create tags: vN.N.N, and module/$MODULE/vN.N.N for each instrumentation module with the script `scripts/tagversion.sh`. Execute the output manually in your terminal. Note: The output assumes `upstream` is the name of the upstream remote.
6. Create release on GitHub: `gh release create vN.N.N`
Expand Down
6 changes: 3 additions & 3 deletions internal/apmgodog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.13

require (
github.com/cucumber/godog v0.12.2
go.elastic.co/apm/module/apmgrpc/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmgrpc/v2 v2.4.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
go.elastic.co/fastjson v1.1.0
google.golang.org/grpc v1.21.1
)
Expand Down
2 changes: 1 addition & 1 deletion internal/apmschema/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/santhosh-tekuri/jsonschema v1.2.4
github.com/stretchr/testify v1.8.1
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
2 changes: 1 addition & 1 deletion internal/apmversion/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ package apmversion

const (
// AgentVersion is the Elastic APM Go Agent version.
AgentVersion = "2.3.0"
AgentVersion = "2.4.0"
)
4 changes: 2 additions & 2 deletions module/apmawssdkgo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmazure/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect
)

Expand Down
6 changes: 3 additions & 3 deletions module/apmbeego/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmchi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmchiv5/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmecho/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 // indirect
)

Expand Down
4 changes: 2 additions & 2 deletions module/apmechov4/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmelasticsearch/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
)

Expand Down
2 changes: 1 addition & 1 deletion module/apmelasticsearch/internal/integration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../../../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmfasthttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace (
Expand Down
6 changes: 3 additions & 3 deletions module/apmfiber/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmfasthttp/v2 v2.4.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmgin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/gin-gonic/gin v1.7.7
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.6.1
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
2 changes: 1 addition & 1 deletion module/apmgocql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
6 changes: 3 additions & 3 deletions module/apmgokit/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmgrpc/v2 v2.4.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
google.golang.org/grpc v1.17.0
)
Expand Down
2 changes: 1 addition & 1 deletion module/apmgometrics/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmgopg/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
go.elastic.co/apm/module/apmsql/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
mellium.im/sasl v0.2.1 // indirect
)

Expand Down
4 changes: 2 additions & 2 deletions module/apmgopgv10/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
go.elastic.co/apm/module/apmsql/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
2 changes: 1 addition & 1 deletion module/apmgoredis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
gopkg.in/yaml.v2 v2.4.0 // indirect
)

Expand Down
2 changes: 1 addition & 1 deletion module/apmgoredisv8/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
4 changes: 2 additions & 2 deletions module/apmgorilla/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmgorm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ require (
github.com/jinzhu/gorm v1.9.10
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0
go.elastic.co/apm/module/apmsql/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmgormv2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ require (
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.16 // indirect
github.com/stretchr/testify v1.8.0
go.elastic.co/apm/module/apmsql/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/tools v0.1.11 // indirect
gorm.io/driver/mysql v1.0.2
gorm.io/driver/postgres v1.3.4
Expand Down
4 changes: 2 additions & 2 deletions module/apmgrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
google.golang.org/grpc v1.17.0
)
Expand Down
2 changes: 1 addition & 1 deletion module/apmhttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
)

Expand Down
4 changes: 2 additions & 2 deletions module/apmhttprouter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
2 changes: 1 addition & 1 deletion module/apmlambda/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
2 changes: 1 addition & 1 deletion module/apmlogrus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 // indirect
)

Expand Down
2 changes: 1 addition & 1 deletion module/apmmongo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.4.0
go.mongodb.org/mongo-driver v1.5.1
)

Expand Down
4 changes: 2 additions & 2 deletions module/apmnegroni/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmot/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
4 changes: 2 additions & 2 deletions module/apmotel/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module go.elastic.co/apm/module/apmotel/v2

require (
github.com/stretchr/testify v1.8.2
go.elastic.co/apm/module/apmhttp/v2 v2.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmhttp/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
go.opentelemetry.io/otel v1.15.0-rc.2
go.opentelemetry.io/otel/metric v1.15.0-rc.2
go.opentelemetry.io/otel/sdk/metric v0.38.0-rc.2
Expand Down
4 changes: 2 additions & 2 deletions module/apmpgx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
go.elastic.co/apm/v2 v2.3.0
go.elastic.co/apm/module/apmsql/v2 v2.4.0
go.elastic.co/apm/v2 v2.4.0
)

replace go.elastic.co/apm/v2 => ../..
Expand Down
Loading

0 comments on commit 27a3571

Please sign in to comment.