Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.3.2 #136

Merged
merged 2 commits into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.3.2](https://github.com/uptrace/opentelemetry-go-extra/compare/v0.3.1...v0.3.2) (2024-09-22)



## [0.3.1](https://github.com/uptrace/opentelemetry-go-extra/compare/v0.3.0...v0.3.1) (2024-06-13)


Expand Down
2 changes: 1 addition & 1 deletion example/beego/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/astaxie/beego v1.12.3
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego v0.43.0
go.opentelemetry.io/otel/trace v1.30.0
)
Expand Down
2 changes: 1 addition & 1 deletion example/echo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/labstack/echo/v4 v4.12.0
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.55.0
go.opentelemetry.io/otel/trace v1.30.0
)
Expand Down
2 changes: 1 addition & 1 deletion example/gin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/gin-gonic/gin v1.10.0
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.55.0
go.opentelemetry.io/otel/trace v1.30.0
)
Expand Down
2 changes: 1 addition & 1 deletion example/gocql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/gocql/gocql v1.6.0
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocql v0.43.0
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion example/gomemcache/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache v0.43.0
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion example/gorilla-mux/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/gorilla/mux v1.8.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux v0.55.0
go.opentelemetry.io/otel/trace v1.30.0
)
Expand Down
2 changes: 1 addition & 1 deletion example/grpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/golang/protobuf v1.5.4
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.42.0
go.opentelemetry.io/otel/trace v1.30.0
google.golang.org/grpc v1.67.0
Expand Down
2 changes: 1 addition & 1 deletion example/mongo-driver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.mongodb.org/mongo-driver v1.17.0
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.55.0
go.opentelemetry.io/otel v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion example/net-http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0
go.opentelemetry.io/otel/trace v1.30.0
)
Expand Down
2 changes: 1 addition & 1 deletion instrum-example/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otelpackage

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
6 changes: 3 additions & 3 deletions otelgorm/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelgorm => ./..
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.2
gorm.io/driver/sqlite v1.5.6
gorm.io/gorm v1.25.12
)
Expand All @@ -22,7 +22,7 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1 // indirect
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 // indirect
go.opentelemetry.io/contrib/instrumentation/runtime v0.55.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.6.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.30.0 // indirect
Expand All @@ -43,7 +43,7 @@ require (

require (
github.com/mattn/go-sqlite3 v1.14.23 // indirect
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
github.com/uptrace/uptrace-go v1.30.1 // indirect
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion otelgorm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
replace github.com/uptrace/opentelemetry-go-extra/otelsql => ../otelsql

require (
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/trace v1.30.0
gorm.io/gorm v1.25.12
Expand Down
4 changes: 2 additions & 2 deletions otelgorm/internal/e2etest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ./../../../otelsql

require (
github.com/stretchr/testify v1.9.0
github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.30.0
Expand All @@ -24,7 +24,7 @@ require (
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.15 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1 // indirect
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 // indirect
go.opentelemetry.io/otel/metric v1.30.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.18.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion otelgorm/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otelgorm

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
6 changes: 3 additions & 3 deletions otelgraphql/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay
require (
github.com/google/uuid v1.6.0
github.com/graph-gophers/graphql-go v1.5.0
github.com/uptrace/opentelemetry-go-extra/otelgraphql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelgraphql v0.3.2
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
)

require (
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2 // indirect
github.com/uptrace/uptrace-go v1.30.1 // indirect
go.opentelemetry.io/contrib v1.30.0 // indirect
go.opentelemetry.io/contrib/instrumentation/runtime v0.55.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion otelgraphql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelutil => ../otelutil
require (
github.com/graph-gophers/graphql-go v1.5.0
github.com/stretchr/testify v1.9.0
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2
go.opentelemetry.io/contrib v1.30.0
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/sdk v1.27.0
Expand Down
2 changes: 1 addition & 1 deletion otelgraphql/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otelgraphql

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
6 changes: 3 additions & 3 deletions otellogrus/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/sirupsen/logrus v1.9.3
github.com/uptrace/opentelemetry-go-extra/otellogrus v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otellogrus v0.3.2
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/otel v1.30.0
)

Expand All @@ -21,7 +21,7 @@ require (
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2 // indirect
github.com/uptrace/uptrace-go v1.30.1 // indirect
go.opentelemetry.io/contrib/instrumentation/runtime v0.55.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.6.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion otellogrus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelutil => ../otelutil
require (
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion otellogrus/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otellogrus

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
4 changes: 2 additions & 2 deletions otelsql/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ./..
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
go.opentelemetry.io/otel v1.30.0
modernc.org/sqlite v1.33.1
)
Expand Down Expand Up @@ -54,5 +54,5 @@ require (

require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
)
2 changes: 1 addition & 1 deletion otelsql/internal/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ../

require (
github.com/stretchr/testify v1.9.0
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion otelsql/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otelsql

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
6 changes: 3 additions & 3 deletions otelsqlx/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ../../otelsql
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsqlx v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
github.com/uptrace/opentelemetry-go-extra/otelsqlx v0.3.2
go.opentelemetry.io/otel v1.30.0
modernc.org/sqlite v1.33.1
)
Expand Down
2 changes: 1 addition & 1 deletion otelsqlx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ../otelsql

require (
github.com/jmoiron/sqlx v1.4.0
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
)

require (
Expand Down
4 changes: 2 additions & 2 deletions otelsqlx/internal/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ replace github.com/uptrace/opentelemetry-go-extra/otelsql => ../../otelsql

require (
github.com/stretchr/testify v1.9.0
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsqlx v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2
github.com/uptrace/opentelemetry-go-extra/otelsqlx v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/sdk v1.27.0
modernc.org/sqlite v1.20.3
Expand Down
6 changes: 3 additions & 3 deletions otelzap/example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ replace github.com/uptrace/opentelemetry-go-extra/otelutil => ../../otelutil
replace github.com/uptrace/opentelemetry-go-extra/otelplay => ../../otelplay

require (
github.com/uptrace/opentelemetry-go-extra/otelzap v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelzap v0.3.2
go.opentelemetry.io/otel v1.30.0
go.uber.org/zap v1.27.0
)

require github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.1
require github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2

require (
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2 // indirect
github.com/uptrace/uptrace-go v1.30.1 // indirect
go.opentelemetry.io/contrib/instrumentation/runtime v0.55.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.6.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion otelzap/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
replace github.com/uptrace/opentelemetry-go-extra/otelutil => ../otelutil

require (
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/log v0.6.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
2 changes: 1 addition & 1 deletion otelzap/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package otelzap

// Version is the current release version.
func Version() string {
return "0.3.1"
return "0.3.2"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "opentelemetry-go-extra",
"version": "0.3.1"
"version": "0.3.2"
}
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
for dir in $PACKAGE_DIRS
do
printf "${dir}: go mod tidy\n"
(cd ./${dir} && go mod tidy -go=1.22)
(cd ./${dir} && go mod tidy)
done

for dir in $PACKAGE_DIRS
Expand All @@ -61,7 +61,7 @@ do
sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ${dir}/version.go
fi

(cd ./${dir} && go mod tidy -go=1.22)
(cd ./${dir} && go mod tidy)
done

sed --in-place "s/\(\"version\": \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./package.json
Expand Down
Loading