Searched refs:gaugeMetric (Results 1 – 4 of 4) sorted by relevance
45 auto gaugeMetric = config.add_gauge_metric(); in CreateStatsdConfigForPushedEvent() local46 gaugeMetric->set_id(123456); in CreateStatsdConfigForPushedEvent()47 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfigForPushedEvent()48 gaugeMetric->set_condition(isInBackgroundPredicate.id()); in CreateStatsdConfigForPushedEvent()49 gaugeMetric->mutable_gauge_fields_filter()->set_include_all(false); in CreateStatsdConfigForPushedEvent()50 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfigForPushedEvent()51 auto fieldMatcher = gaugeMetric->mutable_gauge_fields_filter()->mutable_fields(); in CreateStatsdConfigForPushedEvent()56 *gaugeMetric->mutable_dimensions_in_what() = in CreateStatsdConfigForPushedEvent()58 gaugeMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfigForPushedEvent()60 auto links = gaugeMetric->add_links(); in CreateStatsdConfigForPushedEvent()
102 auto gaugeMetric = config.add_gauge_metric(); in MakeGaugeMetricConfig() local103 gaugeMetric->set_id(123456); in MakeGaugeMetricConfig()104 gaugeMetric->set_what(pulledAtomMatcher.id()); in MakeGaugeMetricConfig()105 gaugeMetric->mutable_gauge_fields_filter()->set_include_all(true); in MakeGaugeMetricConfig()106 *gaugeMetric->mutable_dimensions_in_what() = in MakeGaugeMetricConfig()108 gaugeMetric->set_bucket(FIVE_MINUTES); in MakeGaugeMetricConfig()109 gaugeMetric->set_min_bucket_size_nanos(minTime); in MakeGaugeMetricConfig()
45 auto gaugeMetric = config.add_gauge_metric(); in CreateStatsdConfig() local46 gaugeMetric->set_id(metricId); in CreateStatsdConfig()47 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfig()49 gaugeMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()51 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfig()52 gaugeMetric->mutable_gauge_fields_filter()->set_include_all(true); in CreateStatsdConfig()53 *gaugeMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()55 gaugeMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()56 gaugeMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()
59 GaugeMetricProducer(const ConfigKey& key, const GaugeMetric& gaugeMetric,