Searched refs:alert_stats (Results 1 – 4 of 4) sorted by relevance
312 bool alert1first = configReport.alert_stats(0).id() == StringToId("alert1"); in TEST()313 EXPECT_EQ(StringToId("alert1"), configReport.alert_stats(alert1first ? 0 : 1).id()); in TEST()314 EXPECT_EQ(2, configReport.alert_stats(alert1first ? 0 : 1).alerted_times()); in TEST()315 EXPECT_EQ(StringToId("alert2"), configReport.alert_stats(alert1first ? 1 : 0).id()); in TEST()316 EXPECT_EQ(1, configReport.alert_stats(alert1first ? 1 : 0).alerted_times()); in TEST()349 EXPECT_EQ(StringToId("alert99"), configReport2.alert_stats(0).id()); in TEST()350 EXPECT_EQ(1, configReport2.alert_stats(0).alerted_times()); in TEST()
678 statsIt->second->alert_stats[id]++; in noteAnomalyDeclared()1132 config.second->alert_stats.clear(); in resetInternalLocked()1403 for (const auto& stats : pair.second->alert_stats) { in dumpStats()1775 for (const auto& pair : configStats.alert_stats) { in addConfigStatsToProto()
135 std::map<const int64_t, int> alert_stats; member
496 repeated AlertStats alert_stats = 16; field