The bridge/opencensus package contains go vet formatting errors where the %q verb is incorrectly used with integer arguments. Specifically, in bridge/opencensus/internal/ocmetric/metric.go, %q is used for the int64 bucket count at
|
err = errors.Join(err, fmt.Errorf("%w: %q", errNegativeBucketCount, bucket.Count)) |
and for int slice lengths at
|
"%w: keys(%q) values(%q)", |
. These should be updated to %d (or %v) to resolve the diagnostics.
The bridge/opencensus package contains go vet formatting errors where the %q verb is incorrectly used with integer arguments. Specifically, in bridge/opencensus/internal/ocmetric/metric.go, %q is used for the int64 bucket count at
opentelemetry-go/bridge/opencensus/internal/ocmetric/metric.go
Line 181 in 9276201
opentelemetry-go/bridge/opencensus/internal/ocmetric/metric.go
Line 408 in 9276201