mirror of https://github.com/grpc/grpc-go.git
Fixed the vet issue
This commit is contained in:
parent
2b6ff102e4
commit
08b5e7ca62
|
|
@ -93,13 +93,6 @@ type traceSpanInfo struct {
|
|||
status otelcodes.Code
|
||||
}
|
||||
|
||||
// traceSpanInfoMapKey is the key struct for constructing a map of trace spans
|
||||
// retrievable by span name and span kind
|
||||
type traceSpanInfoMapKey struct {
|
||||
spanName string
|
||||
spanKind string
|
||||
}
|
||||
|
||||
// defaultMetricsOptions creates default metrics options
|
||||
func defaultMetricsOptions(_ *testing.T, methodAttributeFilter func(string) bool) (*opentelemetry.MetricsOptions, *metric.ManualReader) {
|
||||
reader := metric.NewManualReader()
|
||||
|
|
|
|||
Loading…
Reference in New Issue