Class NoOpIngestionOtelStats

java.lang.Object
com.linkedin.davinci.stats.ingestion.IngestionOtelStats
com.linkedin.davinci.stats.ingestion.NoOpIngestionOtelStats

public class NoOpIngestionOtelStats extends IngestionOtelStats
A no-op implementation of IngestionOtelStats that discards all recording calls. Used when ingestion OTel stats are disabled via config so that all recording call sites in AggVersionedIngestionStats stay as simple unconditional calls instead of being wrapped in null checks. This is a readability/maintainability choice, not a performance one — JIT would optimize null checks equally well via constant-folding of the final boolean guard in getIngestionOtelStats().