MCPcopy
hub / github.com/grafana/tempo / GetIntValue

Method GetIntValue

pkg/tempopb/common/v1/common.pb.go:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (m *AnyValue) GetIntValue() int64 {
136 if x, ok := m.GetValue().(*AnyValue_IntValue); ok {
137 return x.IntValue
138 }
139 return 0
140}
141
142func (m *AnyValue) GetDoubleValue() float64 {
143 if x, ok := m.GetValue().(*AnyValue_DoubleValue); ok {

Callers 2

matchesAnyFilterFunction · 0.80
StringifyAnyValueFunction · 0.80

Calls 1

GetValueMethod · 0.95

Tested by

no test coverage detected