Searched refs:sampling_type (Results 1 – 5 of 5) sorted by relevance
31 StatsdConfig CreateStatsdConfigForPushedEvent(const GaugeMetric::SamplingType sampling_type) { in CreateStatsdConfigForPushedEvent() argument50 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfigForPushedEvent()91 for (const auto& sampling_type : in TEST()93 auto config = CreateStatsdConfigForPushedEvent(sampling_type); in TEST()173 if (sampling_type == GaugeMetric::FIRST_N_SAMPLES) { in TEST()
33 StatsdConfig CreateStatsdConfig(const GaugeMetric::SamplingType sampling_type, in CreateStatsdConfig() argument51 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfig()
554 if (metric.sampling_type() != GaugeMetric::FIRST_N_SAMPLES) { in initMetrics()567 metric.sampling_type() == GaugeMetric::FIRST_N_SAMPLES) { in initMetrics()
108 mSamplingType = metric.sampling_type(); in GaugeMetricProducer()
240 optional SamplingType sampling_type = 9 [default = RANDOM_ONE_SAMPLE] ; field