Home
last modified time | relevance | path

Searched refs:getMetric (Results 1 – 18 of 18) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DLongGaugeImplTest.java106 Metric metric = longGaugeMetric.getMetric(testClock); in getOrCreateTimeSeries()
123 Metric metric = longGaugeMetric.getMetric(testClock); in getOrCreateTimeSeries_WithNegativePointValues()
144 Metric metric = longGaugeMetric.getMetric(testClock); in getDefaultTimeSeries()
158 assertThat(longGaugeMetric.getMetric(testClock)) in removeTimeSeries()
166 assertThat(longGaugeMetric.getMetric(testClock)).isNull(); in removeTimeSeries()
183 Metric metric = longGaugeMetric.getMetric(testClock); in clear()
189 assertThat(longGaugeMetric.getMetric(testClock)).isNull(); in clear()
201 Metric metric = longGauge.getMetric(testClock); in setDefaultLabelValues()
239 Metric metric = longGaugeMetric.getMetric(testClock); in multipleMetrics_GetMetric()
248 assertThat(longGaugeMetric.getMetric(testClock)).isNull(); in empty_GetMetrics()
DDoubleGaugeImplTest.java106 Metric metric = doubleGauge.getMetric(testClock); in getOrCreateTimeSeries()
124 Metric metric = doubleGauge.getMetric(testClock); in getOrCreateTimeSeries_WithNegativePointValues()
145 Metric metric = doubleGauge.getMetric(testClock); in getDefaultTimeSeries()
162 assertThat(doubleGauge.getMetric(testClock)) in removeTimeSeries()
171 assertThat(doubleGauge.getMetric(testClock)).isNull(); in removeTimeSeries()
188 Metric metric = doubleGauge.getMetric(testClock); in clear()
194 assertThat(doubleGauge.getMetric(testClock)).isNull(); in clear()
206 Metric metric = doubleGauge.getMetric(testClock); in setDefaultLabelValues()
244 Metric metric = doubleGauge.getMetric(testClock); in multipleMetrics_GetMetric()
253 assertThat(doubleGauge.getMetric(testClock)).isNull(); in empty_GetMetrics()
DDerivedDoubleGaugeImplTest.java132 Metric metric = derivedDoubleGauge.getMetric(testClock); in createTimeSeries_WithObjFunction()
153 Metric metric = derivedDoubleGauge.getMetric(testClock); in addTimeSeries_WithNullObj()
166 Metric metric = derivedDoubleGauge.getMetric(testClock); in removeTimeSeries()
171 assertThat(derivedDoubleGauge.getMetric(testClock)).isNull(); in removeTimeSeries()
192 Metric metric = derivedDoubleGauge.getMetric(testClock); in multipleMetrics_GetMetric()
209 Metric metric = derivedDoubleGauge.getMetric(testClock); in clear()
214 assertThat(derivedDoubleGauge.getMetric(testClock)).isNull(); in clear()
219 assertThat(derivedDoubleGauge.getMetric(testClock)).isNull(); in empty_GetMetrics()
DDerivedLongGaugeImplTest.java137 Metric metric = derivedLongGauge.getMetric(testClock); in createTimeSeries_WithObjFunction()
151 Metric metric = derivedLongGauge.getMetric(testClock); in addTimeSeries_WithNullObj()
164 Metric metric = derivedLongGauge.getMetric(testClock); in removeTimeSeries()
170 assertThat(derivedLongGauge.getMetric(testClock)).isNull(); in removeTimeSeries()
193 Metric metric = derivedLongGauge.getMetric(testClock); in multipleMetrics_GetMetric()
211 Metric metric = derivedLongGauge.getMetric(testClock); in clear()
217 assertThat(derivedLongGauge.getMetric(testClock)).isNull(); in clear()
222 assertThat(derivedLongGauge.getMetric(testClock)).isNull(); in empty_GetMetrics()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCensusModulesTest.java407 assertNull(record.getMetric(RpcMeasureConstants.RPC_CLIENT_ERROR_COUNT)); in subtestClientBasicStatsDefaultContext()
520 assertNull(record.getMetric(RpcMeasureConstants.RPC_CLIENT_SERVER_ELAPSED_TIME)); in clientStreamNeverCreatedStillRecordStats()
634 assertNull(serverRecord.getMetric(RpcMeasureConstants.RPC_SERVER_ERROR_COUNT)); in subtestStatsHeadersPropagateTags()
652 assertNull(clientRecord.getMetric(RpcMeasureConstants.RPC_CLIENT_ERROR_COUNT)); in subtestStatsHeadersPropagateTags()
998 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_ERROR_COUNT)); in assertNoServerContent()
999 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_REQUEST_COUNT)); in assertNoServerContent()
1000 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_RESPONSE_COUNT)); in assertNoServerContent()
1001 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_REQUEST_BYTES)); in assertNoServerContent()
1002 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_RESPONSE_BYTES)); in assertNoServerContent()
1003 assertNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_SERVER_ELAPSED_TIME)); in assertNoServerContent()
[all …]
/external/apache-http/src/org/apache/http/
DHttpConnectionMetrics.java76 Object getMetric(String metricName); in getMetric() method
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/
DMeter.java33 Metric getMetric(Clock clock); in getMetric() method
DDerivedDoubleGaugeImpl.java112 public Metric getMetric(Clock clock) { in getMetric() method in DerivedDoubleGaugeImpl
DDerivedLongGaugeImpl.java110 public Metric getMetric(Clock clock) { in getMetric() method in DerivedLongGaugeImpl
DMetricRegistryImpl.java148 Metric metric = entry.getValue().getMetric(clock); in getMetrics()
DLongGaugeImpl.java130 public Metric getMetric(Clock clock) { in getMetric() method in LongGaugeImpl
DDoubleGaugeImpl.java130 public Metric getMetric(Clock clock) { in getMetric() method in DoubleGaugeImpl
/external/apache-http/src/org/apache/http/impl/
DHttpConnectionMetricsImpl.java105 public Object getMetric(final String metricName) { in getMetric() method in HttpConnectionMetricsImpl
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java80 public Double getMetric(Measure measure) { in getMetric() method in StatsTestUtils.MetricsRecord
99 Double doubleValue = getMetric(measure); in getMetricAsLongOrFail()
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
DSignalFxSessionAdaptorTest.java253 assertEquals("view-name", dp.getMetric()); in adaptViewIntoDatapoints()
294 assertEquals("view-name", dp.getMetric()); in adaptViewWithEmptyTagValueIntoDatapoints()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java2032 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_SERVER_LATENCY)); in checkCensus()
2035 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_REQUEST_BYTES)); in checkCensus()
2036 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_SERVER_RESPONSE_BYTES)); in checkCensus()
2050 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_CLIENT_ROUNDTRIP_LATENCY)); in checkCensus()
2053 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_CLIENT_REQUEST_BYTES)); in checkCensus()
2054 assertNotNull(record.getMetric(RpcMeasureConstants.RPC_CLIENT_RESPONSE_BYTES)); in checkCensus()
/external/apache-http/
Dart-profile37 HPLorg/apache/http/HttpConnectionMetrics;->getMetric(Ljava/lang/String;)Ljava/lang/Object;
/external/apache-http/api/
Dcurrent.txt901 method @Deprecated public Object getMetric(String);
2272 method @Deprecated public Object getMetric(String);