HomeSort by relevance Sort by last modified time
    Searched refs:doubleGauge (Results 1 - 5 of 5) sorted by null

  /external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DoubleGaugeTest.java 30 /** Unit tests for {@link DoubleGauge}. */
45 // TODO(mayurkale): Add more tests, once DoubleGauge plugs-in into the registry.
49 DoubleGauge doubleGauge =
50 DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, EMPTY_LABEL_KEYS);
53 doubleGauge.getOrCreateTimeSeries(null);
59 DoubleGauge doubleGauge = DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY);
62 doubleGauge.getOrCreateTimeSeries(labelValues)
    [all...]
MetricRegistryTest.java 198 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY);
199 assertThat(doubleGauge.getDefaultTimeSeries()).isSameAs(doubleGauge.getDefaultTimeSeries());
200 assertThat(doubleGauge.getDefaultTimeSeries())
201 .isSameAs(doubleGauge.getOrCreateTimeSeries(LABEL_VALUES));
210 DoubleGauge.newNoopDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY).getClass());
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DoubleGaugeImplTest.java 24 import io.opencensus.metrics.DoubleGauge.DoublePoint;
66 private final DoubleGaugeImpl doubleGauge =
73 doubleGauge.getOrCreateTimeSeries(null);
82 DoubleGaugeImpl doubleGauge =
86 doubleGauge.getOrCreateTimeSeries(labelValues);
96 doubleGauge.getOrCreateTimeSeries(labelValues);
101 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES);
103 DoublePoint point1 = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES);
106 Metric metric = doubleGauge.getMetric(testClock);
120 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES)
    [all...]
MetricRegistryImplTest.java 26 import io.opencensus.metrics.DoubleGauge;
27 import io.opencensus.metrics.DoubleGauge.DoublePoint;
253 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY);
254 doubleGauge.getOrCreateTimeSeries(LABEL_VALUES);
317 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY);
318 DoublePoint doublePoint = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES);
  /external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/
DropWizardMetricsTest.java 76 Gauge<Double> doubleGauge =
83 metricRegistry.register("double_gauge", doubleGauge);

Completed in 137 milliseconds