Searched refs:valueMetric (Results 1 – 4 of 4) sorted by relevance
48 auto valueMetric = config.add_value_metric(); in CreateStatsdConfig() local49 valueMetric->set_id(metricId); in CreateStatsdConfig()50 valueMetric->set_what(pulledAtomMatcher.id()); in CreateStatsdConfig()52 valueMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()54 *valueMetric->mutable_value_field() = in CreateStatsdConfig()56 *valueMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()58 valueMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()59 valueMetric->set_use_absolute_value_on_reset(true); in CreateStatsdConfig()60 valueMetric->set_skip_zero_diff_output(false); in CreateStatsdConfig()61 valueMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()[all …]
63 auto valueMetric = config.add_value_metric(); in MakeValueMetricConfig() local64 valueMetric->set_id(123456); in MakeValueMetricConfig()65 valueMetric->set_what(pulledAtomMatcher.id()); in MakeValueMetricConfig()66 *valueMetric->mutable_value_field() = in MakeValueMetricConfig()68 *valueMetric->mutable_dimensions_in_what() = in MakeValueMetricConfig()70 valueMetric->set_bucket(FIVE_MINUTES); in MakeValueMetricConfig()71 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()72 valueMetric->set_use_absolute_value_on_reset(true); in MakeValueMetricConfig()73 valueMetric->set_skip_zero_diff_output(false); in MakeValueMetricConfig()74 valueMetric->set_split_bucket_for_app_upgrade(true); in MakeValueMetricConfig()
33 NumericValueMetricProducer(const ConfigKey& key, const ValueMetric& valueMetric,
3498 ValueMetric valueMetric = createValueMetric("VALUE1", matcher3, 2, predicate1Id, {}); in TEST_F() local3499 int64_t valueMetricId = valueMetric.id(); in TEST_F()3500 *config.add_value_metric() = valueMetric; in TEST_F()3555 *newConfig.add_value_metric() = valueMetric; in TEST_F()