Searched refs:valueMetric (Results 1 – 3 of 3) sorted by relevance
79 auto valueMetric = config.add_value_metric(); in MakeValueMetricConfig() local80 valueMetric->set_id(123456); in MakeValueMetricConfig()81 valueMetric->set_what(pulledAtomMatcher.id()); in MakeValueMetricConfig()82 *valueMetric->mutable_value_field() = in MakeValueMetricConfig()84 *valueMetric->mutable_dimensions_in_what() = in MakeValueMetricConfig()86 valueMetric->set_bucket(FIVE_MINUTES); in MakeValueMetricConfig()87 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()88 valueMetric->set_use_absolute_value_on_reset(true); in MakeValueMetricConfig()
45 auto valueMetric = config.add_value_metric(); in CreateStatsdConfig() local46 valueMetric->set_id(metricId); in CreateStatsdConfig()47 valueMetric->set_what(pulledAtomMatcher.id()); in CreateStatsdConfig()49 valueMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()51 *valueMetric->mutable_value_field() = in CreateStatsdConfig()53 *valueMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()55 valueMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()56 valueMetric->set_use_absolute_value_on_reset(true); in CreateStatsdConfig()57 valueMetric->set_skip_zero_diff_output(false); in CreateStatsdConfig()58 valueMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()
55 ValueMetricProducer(const ConfigKey& key, const ValueMetric& valueMetric,