We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bcbe77 commit c56866bCopy full SHA for c56866b
opentelemetry/src/sdk/metrics/processors/basic.rs
@@ -215,9 +215,10 @@ impl Checkpointer for BasicLockedProcessor<'_> {
215
// If this processor does not require memory, stale, stateless
216
// entries can be removed. This implies that they were not updated
217
// over the previous full collection interval.
218
- if stale && stateless && has_memory {
+ if stale && stateless && !has_memory {
219
return false;
220
}
221
+ return true;
222
223
224
// Update Aggregator state to support exporting either a
0 commit comments