diff --git a/exporter/prometheusexporter/accumulator.go b/exporter/prometheusexporter/accumulator.go index 1a10b3332046..5ad9c363e36a 100644 --- a/exporter/prometheusexporter/accumulator.go +++ b/exporter/prometheusexporter/accumulator.go @@ -178,7 +178,7 @@ func (a *lastValueAccumulator) accumulateSum(metric pmetric.Metric, il pcommon.I } // Drop non-monotonic and non-cumulative metrics - if doubleSum.AggregationTemporality() == pmetric.MetricAggregationTemporalityDelta || !doubleSum.IsMonotonic() { + if doubleSum.AggregationTemporality() == pmetric.MetricAggregationTemporalityDelta && !doubleSum.IsMonotonic() { return }