29 static constexpr std::chrono::seconds kDefaultDuration{120};
30 static constexpr std::chrono::hours kInfiniteDuration{24 * 365 * 10};
32 explicit Source(
const std::string& name);
35 void FireAlert(
utils::statistics::MetricsStorage& storage, std::chrono::seconds duration = kDefaultDuration);
41 utils::statistics::MetricTag<impl::SourceData> tag_;