Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DLongGaugeTest.java49 LongGauge longGauge = LongGauge.newNoopLongGauge(NAME, DESCRIPTION, UNIT, EMPTY_LABEL_KEYS); in noopGetOrCreateTimeSeries_WithNullLabelValues() local
52 longGauge.getOrCreateTimeSeries(null); in noopGetOrCreateTimeSeries_WithNullLabelValues()
58 LongGauge longGauge = LongGauge.newNoopLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopGetOrCreateTimeSeries_WithNullElement() local
61 longGauge.getOrCreateTimeSeries(labelValues); in noopGetOrCreateTimeSeries_WithNullElement()
66 LongGauge longGauge = LongGauge.newNoopLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopGetOrCreateTimeSeries_WithInvalidLabelSize() local
69 longGauge.getOrCreateTimeSeries(EMPTY_LABEL_VALUES); in noopGetOrCreateTimeSeries_WithInvalidLabelSize()
74 LongGauge longGauge = LongGauge.newNoopLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopRemoveTimeSeries_WithNullLabelValues() local
77 longGauge.removeTimeSeries(null); in noopRemoveTimeSeries_WithNullLabelValues()
82 LongGauge longGauge = LongGauge.newNoopLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopSameAs() local
83 assertThat(longGauge.getDefaultTimeSeries()).isSameAs(longGauge.getDefaultTimeSeries()); in noopSameAs()
[all …]
DMetricRegistryTest.java193 LongGauge longGauge = metricRegistry.addLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in noopSameAs() local
194 assertThat(longGauge.getDefaultTimeSeries()).isSameAs(longGauge.getDefaultTimeSeries()); in noopSameAs()
195 assertThat(longGauge.getDefaultTimeSeries()) in noopSameAs()
196 .isSameAs(longGauge.getOrCreateTimeSeries(LABEL_VALUES)); in noopSameAs()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DLongGaugeImplTest.java82 LongGaugeImpl longGauge = in getOrCreateTimeSeries_WithNullElement() local
86 longGauge.getOrCreateTimeSeries(labelValues); in getOrCreateTimeSeries_WithNullElement()
196 LongGaugeImpl longGauge = in setDefaultLabelValues() local
198 LongPoint defaultPoint = longGauge.getDefaultTimeSeries(); in setDefaultLabelValues()
201 Metric metric = longGauge.getMetric(testClock); in setDefaultLabelValues()
258 LongGaugeImpl longGauge = in testEquals() local
261 LongPoint defaultPoint1 = longGauge.getDefaultTimeSeries(); in testEquals()
262 LongPoint defaultPoint2 = longGauge.getDefaultTimeSeries(); in testEquals()
263 LongPoint longPoint1 = longGauge.getOrCreateTimeSeries(labelValues); in testEquals()
264 LongPoint longPoint2 = longGauge.getOrCreateTimeSeries(labelValues); in testEquals()
[all …]
DMetricRegistryImplTest.java238 LongGauge longGauge = metricRegistry.addLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in addLongGauge_GetMetrics() local
239 longGauge.getOrCreateTimeSeries(LABEL_VALUES); in addLongGauge_GetMetrics()
314 LongGauge longGauge = metricRegistry.addLongGauge(NAME, DESCRIPTION, UNIT, LABEL_KEY); in getMetrics() local
315 LongPoint longPoint = longGauge.getOrCreateTimeSeries(LABEL_VALUES); in getMetrics()
/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/
DDropWizardMetricsTest.java85 Gauge<Long> longGauge = in collect() local
92 metricRegistry.register("long_gauge", longGauge); in collect()