docs: function Metric(namespace, units, defaultDimensions, options) {
    var self = this;
    self.cloudwatch = new CloudWatch(_awsConfig);
    self.namespace = namespace;
    self.units = units;
    self.defaultDimensions = defaultDimensions || [];
    self.options = Object.assign({}, DEFAULT_METRIC_OPTIONS, options);
    self._storedMetrics = [];
    this._summaryData = new Map();
  
    if (self.options.enabled) {
      self._interval = setInterval(() => {
        self._sendMetrics();
      }, self.options.sendInterval);
  
      this._summaryInterval = setInterval(() => {
        this._summarizeMetrics();
      }, this.options.summaryInterval);
    }
  }