(count int, tenantID string, traceID string, rootSpanName string, rootServiceName string)
| 486 | } |
| 487 | |
| 488 | func (w *BackendWorker) RecordDiscardedSpans(count int, tenantID string, traceID string, rootSpanName string, rootServiceName string) { |
| 489 | level.Warn(log.Logger).Log("msg", "max size of trace exceeded", "tenant", tenantID, "traceId", traceID, |
| 490 | "rootSpanName", rootSpanName, "rootServiceName", rootServiceName, "discarded_span_count", count) |
| 491 | overrides.RecordDiscardedSpans(count, overrides.ReasonCompactorDiscardedSpans, tenantID) |
| 492 | } |
| 493 | |
| 494 | // BlockRetentionForTenant implements CompactorOverrides |
| 495 | func (w *BackendWorker) BlockRetentionForTenant(tenantID string) time.Duration { |
nothing calls this directly
no test coverage detected