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

Method Size

pkg/tempopb/tempo.pb.go:6443–6456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6441}
6442
6443func (m *ServiceStats) Size() (n int) {
6444 if m == nil {
6445 return 0
6446 }
6447 var l int
6448 _ = l
6449 if m.SpanCount != 0 {
6450 n += 1 + sovTempo(uint64(m.SpanCount))
6451 }
6452 if m.ErrorCount != 0 {
6453 n += 1 + sovTempo(uint64(m.ErrorCount))
6454 }
6455 return n
6456}
6457
6458func (m *SpanSet) Size() (n int) {
6459 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 1

sovTempoFunction · 0.85

Tested by

no test coverage detected