Searched refs:valueMetric (Results 1 – 4 of 4) sorted by relevance
49 auto valueMetric = config.add_value_metric(); in CreateStatsdConfig() local50 valueMetric->set_id(metricId); in CreateStatsdConfig()51 valueMetric->set_what(pulledAtomMatcher.id()); in CreateStatsdConfig()53 valueMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()55 *valueMetric->mutable_value_field() = in CreateStatsdConfig()57 *valueMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()59 valueMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()60 valueMetric->set_use_absolute_value_on_reset(true); in CreateStatsdConfig()61 valueMetric->set_skip_zero_diff_output(false); in CreateStatsdConfig()62 valueMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()[all …]
82 auto valueMetric = config.add_value_metric(); in MakeValueMetricConfig() local83 valueMetric->set_id(123456); in MakeValueMetricConfig()84 valueMetric->set_what(pulledAtomMatcher.id()); in MakeValueMetricConfig()85 *valueMetric->mutable_value_field() = in MakeValueMetricConfig()87 *valueMetric->mutable_dimensions_in_what() = in MakeValueMetricConfig()89 valueMetric->set_bucket(FIVE_MINUTES); in MakeValueMetricConfig()90 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()91 valueMetric->set_use_absolute_value_on_reset(true); in MakeValueMetricConfig()92 valueMetric->set_skip_zero_diff_output(false); in MakeValueMetricConfig()
53 const ConfigKey& key, const ValueMetric& valueMetric, const int conditionIndex,
3082 ValueMetric valueMetric = createValueMetric("VALUE1", matcher3, 2, predicate1Id, {}); in TEST_F() local3083 int64_t valueMetricId = valueMetric.id(); in TEST_F()3084 *config.add_value_metric() = valueMetric; in TEST_F()3134 *newConfig.add_value_metric() = valueMetric; in TEST_F()