-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(examples): Update all golang examples and split out golang-push…
… tracing (#3765) * Split tracing golang push * Add all examples to go mod tidy and update golang examples Otel has been fairly hard to get to work with this
- Loading branch information
1 parent
06d88ca
commit d6c62bf
Showing
39 changed files
with
1,497 additions
and
447 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,40 +1,42 @@ | ||
module rideshare | ||
|
||
go 1.22.7 | ||
go 1.22 | ||
|
||
toolchain go1.22.9 | ||
|
||
require ( | ||
github.com/agoda-com/opentelemetry-logs-go v0.4.1 | ||
github.com/agoda-com/opentelemetry-logs-go v0.5.1 | ||
github.com/grafana/otel-profiling-go v0.5.1 | ||
github.com/grafana/pyroscope-go v1.1.1 | ||
github.com/stretchr/testify v1.8.4 | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0 | ||
go.opentelemetry.io/otel v1.21.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.20.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.20.0 | ||
go.opentelemetry.io/otel/sdk v1.21.0 | ||
go.opentelemetry.io/otel/trace v1.21.0 | ||
github.com/grafana/pyroscope-go v1.2.0 | ||
github.com/stretchr/testify v1.9.0 | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 | ||
go.opentelemetry.io/otel v1.32.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.31.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.31.0 | ||
go.opentelemetry.io/otel/sdk v1.31.0 | ||
go.opentelemetry.io/otel/trace v1.32.0 | ||
) | ||
|
||
require ( | ||
github.com/cenkalti/backoff/v4 v4.2.1 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/felixge/httpsnoop v1.0.3 // indirect | ||
github.com/go-logr/logr v1.3.0 // indirect | ||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/grafana/pyroscope-go/godeltaprof v0.1.6 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect | ||
github.com/klauspost/compress v1.17.3 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
go.opentelemetry.io/otel/metric v1.21.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.0.0 // indirect | ||
golang.org/x/net v0.23.0 // indirect | ||
golang.org/x/sys v0.18.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect | ||
google.golang.org/grpc v1.59.0 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect | ||
github.com/klauspost/compress v1.17.8 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.32.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.3.1 // indirect | ||
golang.org/x/net v0.30.0 // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect | ||
google.golang.org/grpc v1.67.1 // indirect | ||
google.golang.org/protobuf v1.35.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // 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,5 +1,5 @@ | ||
go 1.22.7 | ||
go 1.22 | ||
|
||
use ( | ||
. | ||
) | ||
toolchain go1.22.9 | ||
|
||
use . |
Oops, something went wrong.