-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded OTEL libraries and examples (#11)
* Upgraded libraries and got working with new OTEL * Upgrade example applications to newest * Adding sum * Updated action versions to trigger build * style: gofumpt --------- Co-authored-by: zstone12 <522089185@qq.com>
- Loading branch information
Showing
10 changed files
with
192 additions
and
1,312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
module gorm.io/plugin/example | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
replace gorm.io/plugin/opentelemetry => ./../.. | ||
|
||
require ( | ||
go.opentelemetry.io/otel v1.8.0 | ||
go.opentelemetry.io/otel/exporters/jaeger v1.7.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.7.0 | ||
go.opentelemetry.io/otel/sdk v1.8.0 | ||
go.opentelemetry.io/otel/trace v1.8.0 | ||
gorm.io/driver/sqlite v1.3.4 | ||
gorm.io/gorm v1.23.6 | ||
gorm.io/plugin/opentelemetry v0.0.0-00010101000000-000000000000 | ||
go.opentelemetry.io/otel v1.16.0 | ||
go.opentelemetry.io/otel/exporters/jaeger v1.16.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.16.0 | ||
go.opentelemetry.io/otel/sdk v1.16.0 | ||
go.opentelemetry.io/otel/trace v1.16.0 | ||
gorm.io/driver/sqlite v1.5.1 | ||
gorm.io/gorm v1.25.1 | ||
gorm.io/plugin/opentelemetry v0.1.2 | ||
) | ||
|
||
require ( | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/mattn/go-sqlite3 v1.14.12 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
go.opentelemetry.io/otel/metric v0.31.0 // indirect | ||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect | ||
github.com/mattn/go-sqlite3 v1.14.16 // indirect | ||
github.com/sirupsen/logrus v1.9.2 // indirect | ||
go.opentelemetry.io/otel/metric v1.16.0 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
module github.com/uptrace/opentelemetry-go-extra/example/prometheus/metrics | ||
|
||
go 1.17 | ||
go 1.20 | ||
|
||
require ( | ||
go.opentelemetry.io/contrib/instrumentation/runtime v0.39.0 | ||
go.opentelemetry.io/otel v1.13.0 | ||
go.opentelemetry.io/otel/exporters/jaeger v1.13.0 | ||
go.opentelemetry.io/otel/exporters/prometheus v0.36.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.13.0 | ||
go.opentelemetry.io/otel/metric v0.36.0 | ||
go.opentelemetry.io/otel/sdk v1.13.0 | ||
go.opentelemetry.io/otel/trace v1.13.0 | ||
gorm.io/driver/sqlite v1.4.4 | ||
gorm.io/gorm v1.24.5 | ||
gorm.io/plugin/opentelemetry v0.0.0-00010101000000-000000000000 | ||
github.com/prometheus/client_golang v1.15.1 | ||
go.opentelemetry.io/contrib/instrumentation/runtime v0.42.0 | ||
go.opentelemetry.io/otel v1.16.0 | ||
go.opentelemetry.io/otel/exporters/jaeger v1.16.0 | ||
go.opentelemetry.io/otel/exporters/prometheus v0.39.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.16.0 | ||
go.opentelemetry.io/otel/sdk v1.16.0 | ||
go.opentelemetry.io/otel/sdk/metric v0.39.0 | ||
go.opentelemetry.io/otel/trace v1.16.0 | ||
gorm.io/driver/sqlite v1.5.1 | ||
gorm.io/gorm v1.25.1 | ||
gorm.io/plugin/opentelemetry v0.1.2 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/mattn/go-sqlite3 v1.14.16 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect | ||
github.com/prometheus/client_golang v1.14.0 // indirect | ||
github.com/prometheus/client_model v0.3.0 // indirect | ||
github.com/prometheus/common v0.39.0 // indirect | ||
github.com/prometheus/procfs v0.9.0 // indirect | ||
github.com/sirupsen/logrus v1.9.0 // indirect | ||
go.opentelemetry.io/otel/sdk/metric v0.36.0 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
github.com/prometheus/client_model v0.4.0 // indirect | ||
github.com/prometheus/common v0.44.0 // indirect | ||
github.com/prometheus/procfs v0.10.0 // indirect | ||
github.com/sirupsen/logrus v1.9.2 // indirect | ||
go.opentelemetry.io/otel/metric v1.16.0 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
google.golang.org/protobuf v1.30.0 // indirect | ||
) | ||
|
||
replace gorm.io/plugin/opentelemetry => ./../../.. |
Oops, something went wrong.