From 0e4521b7a9daf8a8f237247a68de1e734a5090ef Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Thu, 8 Oct 2020 14:21:05 -0600 Subject: [PATCH] Change to max --- .../src/opentelemetry/sdk/metrics/export/aggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/export/aggregate.py b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/export/aggregate.py index 7a7c0041ec8..a353e6ffb9c 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/export/aggregate.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/export/aggregate.py @@ -55,7 +55,7 @@ def merge(self, other): self.last_update_timestamp = max( self.last_update_timestamp, other.last_update_timestamp ) - self.last_checkpoint_timestamp = min( + self.last_checkpoint_timestamp = max( self.last_checkpoint_timestamp, other.last_checkpoint_timestamp )