Home
last modified time | relevance | path

Searched refs:alert_stats (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp178 bool alert1first = configReport.alert_stats(0).id() == StringToId("alert1"); in TEST()
179 EXPECT_EQ(StringToId("alert1"), configReport.alert_stats(alert1first ? 0 : 1).id()); in TEST()
180 EXPECT_EQ(2, configReport.alert_stats(alert1first ? 0 : 1).alerted_times()); in TEST()
181 EXPECT_EQ(StringToId("alert2"), configReport.alert_stats(alert1first ? 1 : 0).id()); in TEST()
182 EXPECT_EQ(1, configReport.alert_stats(alert1first ? 1 : 0).alerted_times()); in TEST()
217 EXPECT_EQ(StringToId("alert99"), configReport2.alert_stats(0).id()); in TEST()
218 EXPECT_EQ(1, configReport2.alert_stats(0).alerted_times()); in TEST()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp387 statsIt->second->alert_stats[id]++; in noteAnomalyDeclared()
624 config.second->alert_stats.clear(); in resetInternalLocked()
764 for (const auto& stats : pair.second->alert_stats) { in dumpStats()
959 for (const auto& pair : configStats.alert_stats) { in addConfigStatsToProto()
DStatsdStats.h78 std::map<const int64_t, int> alert_stats; member
/packages/modules/StatsD/statsd/src/
Dstats_log.proto414 repeated AlertStats alert_stats = 16; field