Skip to content

Commit

Permalink
chore: address mayur comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud committed Apr 12, 2020
1 parent fa90da0 commit dde41d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ import { HrTime } from '@opentelemetry/api';
import { hrTime } from '@opentelemetry/core';

/**
* Basic aggregator which observe events and counts them in pre-defined buckets
* Basic aggregator which observes events and counts them in pre-defined buckets
* and provides the total sum and count of all observations.
*/
export class HistogramAggregator implements Aggregator {
private _lastCheckpoint: Histogram;
private _currentCheckpoint: Histogram;
private _lastCheckpointTime: HrTime;
private _boundaries: number[];
private readonly _boundaries: number[];

constructor(boundaries: number[]) {
if (boundaries === undefined || boundaries.length === 0) {
Expand Down

0 comments on commit dde41d9

Please sign in to comment.