Client
go-spanner
Environment
GKE
Go Environment
$ go version
1.18.1
Using https://pkg.go.dev/cloud.google.com/go/spanner v1.30.0
Code
go library for Spanner suggests that there is no need to handle session on our own and we are not doing any of the thing on our own. It's the HealthCheckWorker which is doing all of the things on it's own.
Expected behavior
There should not be any error while executing Select 1 .
Actual behavior
Getting Below error
starting span "cloud.google.com/go/spanner.ping": unsupported sampler: 0x9f1c00
Below is the traceback
go.opentelemetry.io/otel.(*delegator).Handle
/app/vendor/go.opentelemetry.io/otel/handler.go:44
go.opentelemetry.io/otel.Handle
/app/vendor/go.opentelemetry.io/otel/handler.go:96
go.opentelemetry.io/otel/bridge/opencensus/internal.(*Tracer).StartSpan
/app/vendor/go.opentelemetry.io/otel/bridge/opencensus/internal/tracer.go:42
go.opencensus.io/trace.StartSpan
/app/vendor/go.opencensus.io/trace/trace_api.go:56
cloud.google.com/go/spanner.(*session).ping
/app/vendor/cloud.google.com/go/spanner/session.go:233
cloud.google.com/go/spanner.(*healthChecker).healthCheck
/app/vendor/cloud.google.com/go/spanner/session.go:1465
cloud.google.com/go/spanner.(*healthChecker).worker
/app/vendor/cloud.google.com/go/spanner/session.go:1563
Additional context
This issue seems to be fixed here but still we are getting this issue.
Client
go-spanner
Environment
GKE
Go Environment
$ go version
1.18.1
Using https://pkg.go.dev/cloud.google.com/go/spanner v1.30.0
Code
go library for Spanner suggests that there is no need to handle session on our own and we are not doing any of the thing on our own. It's the
HealthCheckWorkerwhich is doing all of the things on it's own.Expected behavior
There should not be any error while executing
Select 1.Actual behavior
Getting Below error
starting span "cloud.google.com/go/spanner.ping": unsupported sampler: 0x9f1c00Below is the traceback
Additional context
This issue seems to be fixed here but still we are getting this issue.