Searched refs:countMetric (Results 1 – 8 of 8) sorted by relevance
38 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local39 countMetric->set_id(123456); in CreateStatsdConfig()40 countMetric->set_what(wakelockAcquireMatcher.id()); in CreateStatsdConfig()41 *countMetric->mutable_dimensions_in_what() = CreateAttributionUidDimensions( in CreateStatsdConfig()43 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
69 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local70 countMetric->set_id(StringToId("AppCrashes")); in CreateStatsdConfig()71 countMetric->set_what(appCrashMatcher.id()); in CreateStatsdConfig()72 countMetric->set_condition(combinationPredicate->id()); in CreateStatsdConfig()74 *countMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()76 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()79 auto links = countMetric->add_links(); in CreateStatsdConfig()88 links = countMetric->add_links(); in CreateStatsdConfig()
43 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local44 countMetric->set_id(metricId); in CreateStatsdConfig()45 countMetric->set_what(crashMatcher.id()); in CreateStatsdConfig()46 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()47 countMetric->mutable_dimensions_in_what()->set_field( in CreateStatsdConfig()49 countMetric->mutable_dimensions_in_what()->add_child()->set_field(1); // uid field in CreateStatsdConfig()77 auto countMetric = config.add_count_metric(); in CreateStatsdConfigWithOneDeactivation() local78 countMetric->set_id(metricId); in CreateStatsdConfigWithOneDeactivation()79 countMetric->set_what(crashMatcher.id()); in CreateStatsdConfigWithOneDeactivation()80 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfigWithOneDeactivation()[all …]
62 auto countMetric = config.add_count_metric(); in MakeConfig() local63 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()64 countMetric->set_what(appCrashMatcher.id()); in MakeConfig()65 countMetric->set_bucket(FIVE_MINUTES); in MakeConfig()
46 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local47 countMetric->set_id(123456); in CreateStatsdConfig()48 countMetric->set_what(wakelockAcquireMatcher.id()); in CreateStatsdConfig()49 *countMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()52 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
43 CountMetricProducer(const ConfigKey& key, const CountMetric& countMetric,
150 auto countMetric = config.add_count_metric(); in MakeConfig() local151 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()152 countMetric->set_what(appCrashMatcher.id()); in MakeConfig()153 countMetric->set_bucket(FIVE_MINUTES); in MakeConfig()259 auto countMetric = config.add_count_metric(); in TEST() local260 countMetric->set_id(123456); in TEST()261 countMetric->set_what(wakelockAcquireMatcher.id()); in TEST()262 countMetric->set_bucket(FIVE_MINUTES); in TEST()