mirror of
https://github.com/hanzokv/go.git
synced 2026-09-24 00:31:51 +00:00
* ring: remove external rendezvous dependency by inlining implementation Replace usage of github.com/dgryski/go-rendezvous with an internal implementation to eliminate the external dependency and avoid licence propagation concerns. The implementation preserves the exact hashing algorithm and behaviour: - same hash combination: khash ^ nhash - same mixing function (xorshift* variant) - same node ordering semantics No functional changes intended. * Refactor TestRendezvous to remove randomString function Replaced function with inline string generation for test cases. * test: refactor RendezvousHash tests to use Ginkgo and Gomega * test: improve RendezvousHash test for per-instance determinism and distribution balance * test: enhance distribution verification in RendezvousHash tests
50 lines
2.0 KiB
AMPL
50 lines
2.0 KiB
AMPL
module github.com/redis/go-redis/example/otel
|
|
|
|
go 1.24.0
|
|
|
|
toolchain go1.24.13
|
|
|
|
replace github.com/redis/go-redis/v9 => ../..
|
|
|
|
replace github.com/redis/go-redis/extra/redisotel/v9 => ../../extra/redisotel
|
|
|
|
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../../extra/rediscmd
|
|
|
|
require (
|
|
github.com/redis/go-redis/extra/redisotel/v9 v9.18.0
|
|
github.com/redis/go-redis/v9 v9.18.0
|
|
github.com/uptrace/uptrace-go v1.21.0
|
|
go.opentelemetry.io/otel v1.40.0
|
|
)
|
|
|
|
require (
|
|
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
|
|
github.com/redis/go-redis/extra/rediscmd/v9 v9.18.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.44.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.40.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.40.0 // indirect
|
|
go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.40.0 // indirect
|
|
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
golang.org/x/net v0.36.0 // indirect
|
|
golang.org/x/sys v0.40.0 // indirect
|
|
golang.org/x/text v0.22.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20240108191215-35c7eff3a6b1 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240108191215-35c7eff3a6b1 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect
|
|
google.golang.org/grpc v1.60.1 // indirect
|
|
google.golang.org/protobuf v1.33.0 // indirect
|
|
)
|