Lines Matching refs:MetricDimensionKey
62 void addPastBucket(const MetricDimensionKey& key, const int64_t& bucketValue,
68 bool detectAnomaly(const int64_t& currBucketNum, const MetricDimensionKey& key,
72 void declareAnomaly(const int64_t& timestampNs, int64_t metricId, const MetricDimensionKey& key,
80 int64_t metricId, const MetricDimensionKey& key,
89 int64_t getSumOverPastBuckets(const MetricDimensionKey& key) const;
92 int64_t getPastBucketValue(const MetricDimensionKey& key, const int64_t& bucketNum) const;
102 uint32_t getRefractoryPeriodEndsSec(const MetricDimensionKey& key) const { in getRefractoryPeriodEndsSec()
116 virtual void startAlarm(const MetricDimensionKey& dimensionKey, const int64_t& eventTime) { in startAlarm()
123 virtual void stopAlarm(const MetricDimensionKey& dimensionKey, const int64_t& timestampNs) { in stopAlarm()
154 virtual uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const { in getAlarmTimestampSec()
186 unordered_map<MetricDimensionKey, uint32_t> mRefractoryPeriodEndsSec;
201 void subtractValueFromSum(const MetricDimensionKey& key, const int64_t& bucketValue);
204 bool isInRefractoryPeriod(const int64_t& timestampNs, const MetricDimensionKey& key) const;
214 void informSubscribers(const MetricDimensionKey& key, int64_t metricId, int64_t metricValue);