-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.
Description
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.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.