Skip to content

Commit

Permalink
update lastUpdateTime in MeasureExactAggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Mar 26, 2020
1 parent da303ec commit a7fcfc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/opentelemetry-metrics/src/export/Aggregator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class MeasureExactAggregator implements Aggregator {
this._distribution.sum += value;
this._distribution.min = Math.min(this._distribution.min, value);
this._distribution.max = Math.max(this._distribution.max, value);
this._lastUpdateTime = hrTime();
}

toPoint(): Point {
Expand Down

0 comments on commit a7fcfc3

Please sign in to comment.