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

Function RecordDiscardedSpans

modules/overrides/discarded_spans.go:34–36  ·  view source on GitHub ↗
(spansDiscarded int, reason string, tenant string)

Source from the content-addressed store, hash-verified

32}, []string{discardReasonLabel, "tenant"})
33
34func RecordDiscardedSpans(spansDiscarded int, reason string, tenant string) {
35 metricDiscardedSpans.WithLabelValues(reason, tenant).Add(float64(spansDiscarded))
36}

Callers 5

AppendTraceMethod · 0.92
RecordDiscardedSpansMethod · 0.92
checkForRateLimitsMethod · 0.92
requestsByTraceIDFunction · 0.92
pushBytesMethod · 0.92

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected