Home
last modified time | relevance | path

Searched refs:doubleGauge (Results 1 – 5 of 5) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DDoubleGaugeImplTest.java66 private final DoubleGaugeImpl doubleGauge = field in DoubleGaugeImplTest
73 doubleGauge.getOrCreateTimeSeries(null); in getOrCreateTimeSeries_WithNullLabelValues()
82 DoubleGaugeImpl doubleGauge = in getOrCreateTimeSeries_WithNullElement() local
86 doubleGauge.getOrCreateTimeSeries(labelValues); in getOrCreateTimeSeries_WithNullElement()
96 doubleGauge.getOrCreateTimeSeries(labelValues); in getOrCreateTimeSeries_WithInvalidLabelSize()
101 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
103 DoublePoint point1 = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries()
106 Metric metric = doubleGauge.getMetric(testClock); in getOrCreateTimeSeries()
120 DoublePoint point = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getOrCreateTimeSeries_WithNegativePointValues()
124 Metric metric = doubleGauge.getMetric(testClock); in getOrCreateTimeSeries_WithNegativePointValues()
[all …]
DMetricRegistryImplTest.java253 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY); in addDoubleGauge_GetMetrics() local
254 doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in addDoubleGauge_GetMetrics()
317 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY); in getMetrics() local
318 DoublePoint doublePoint = doubleGauge.getOrCreateTimeSeries(LABEL_VALUES); in getMetrics()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DDoubleGaugeTest.java49 DoubleGauge doubleGauge = in noopGetOrCreateTimeSeries_WithNullLabelValues() local
53 doubleGauge.getOrCreateTimeSeries(null); in noopGetOrCreateTimeSeries_WithNullLabelValues()
59 DoubleGauge doubleGauge = DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopGetOrCreateTimeSeries_WithNullElement() local
62 doubleGauge.getOrCreateTimeSeries(labelValues); in noopGetOrCreateTimeSeries_WithNullElement()
67 DoubleGauge doubleGauge = DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopGetOrCreateTimeSeries_WithInvalidLabelSize() local
70 doubleGauge.getOrCreateTimeSeries(EMPTY_LABEL_VALUES); in noopGetOrCreateTimeSeries_WithInvalidLabelSize()
75 DoubleGauge doubleGauge = DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopRemoveTimeSeries_WithNullLabelValues() local
78 doubleGauge.removeTimeSeries(null); in noopRemoveTimeSeries_WithNullLabelValues()
83 DoubleGauge doubleGauge = DoubleGauge.newNoopDoubleGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopSameAs() local
84 assertThat(doubleGauge.getDefaultTimeSeries()).isSameAs(doubleGauge.getDefaultTimeSeries()); in noopSameAs()
[all …]
DMetricRegistryTest.java198 DoubleGauge doubleGauge = metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, LABEL_KEY); in noopSameAs() local
199 assertThat(doubleGauge.getDefaultTimeSeries()).isSameAs(doubleGauge.getDefaultTimeSeries()); in noopSameAs()
200 assertThat(doubleGauge.getDefaultTimeSeries()) in noopSameAs()
201 .isSameAs(doubleGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()
/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/
DDropWizardMetricsTest.java76 Gauge<Double> doubleGauge = in collect() local
83 metricRegistry.register("double_gauge", doubleGauge); in collect()