Home
last modified time | relevance | path

Searched refs:MeasureMap (Results 1 – 13 of 13) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DMeasureMap.java31 public abstract class MeasureMap { class
42 public abstract MeasureMap put(MeasureDouble measure, double value); in put()
53 public abstract MeasureMap put(MeasureLong measure, long value); in put()
67 public MeasureMap putAttachment(String key, String value) { in putAttachment()
DNoopStats.java69 static MeasureMap getNoopMeasureMap() { in getNoopMeasureMap()
118 public MeasureMap newMeasureMap() { in newMeasureMap()
124 private static final class NoopMeasureMap extends MeasureMap {
125 static final MeasureMap INSTANCE = new NoopMeasureMap();
128 public MeasureMap put(MeasureDouble measure, double value) { in put()
133 public MeasureMap put(MeasureLong measure, long value) { in put()
DStatsRecorder.java33 public abstract MeasureMap newMeasureMap(); in newMeasureMap()
/external/opencensus-java/contrib/exemplar_util/src/test/java/io/opencensus/contrib/exemplar/util/
DExemplarUtilsTest.java25 import io.opencensus.stats.MeasureMap;
79 private static final class FakeMeasureMap extends MeasureMap {
84 public MeasureMap putAttachment(String key, String value) { in putAttachment()
90 public MeasureMap put(MeasureDouble measure, double value) { in put()
95 public MeasureMap put(MeasureLong measure, long value) { in put()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureMapImpl.java21 import io.opencensus.stats.MeasureMap;
26 final class MeasureMapImpl extends MeasureMap {
51 public MeasureMap putAttachment(String key, String value) { in putAttachment()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/zpages/
DZPagesTester.java23 import io.opencensus.stats.MeasureMap;
57 MeasureMap measureMap = in recordExampleData()
86 MeasureMap measureMapErrors = in recordExampleData()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopStatsTest.java98 MeasureMap measureMap = NoopStats.getNoopStatsRecorder().newMeasureMap(); in noopStatsRecorder_PutAttachmentNullKey()
106 MeasureMap measureMap = NoopStats.getNoopStatsRecorder().newMeasureMap(); in noopStatsRecorder_PutAttachmentNullValue()
128 MeasureMap measureMap = NoopStats.getNoopStatsRecorder().newMeasureMap(); in noopStatsRecorder_Record_DisallowNullTagContext()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java28 import io.opencensus.stats.MeasureMap;
135 public MeasureMap newMeasureMap() { in newMeasureMap()
222 public static final class FakeStatsRecord extends MeasureMap {
232 public MeasureMap put(Measure.MeasureDouble measure, double value) { in put()
238 public MeasureMap put(Measure.MeasureLong measure, long value) { in put()
/external/opencensus-java/contrib/exemplar_util/src/main/java/io/opencensus/contrib/exemplar/util/
DExemplarUtils.java20 import io.opencensus.stats.MeasureMap;
63 public static void putSpanContextAttachments(MeasureMap measureMap, SpanContext spanContext) { in putSpanContextAttachments()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCensusStatsModule.java40 import io.opencensus.stats.MeasureMap;
389 MeasureMap measureMap = module.statsRecorder.newMeasureMap() in callEnded()
589 MeasureMap measureMap = module.statsRecorder.newMeasureMap() in streamClosed()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DStatsRecorderImplTest.java37 import io.opencensus.stats.MeasureMap;
277 MeasureMap statsRecord = statsRecorder.newMeasureMap().put(MEASURE_DOUBLE, 1.0); in recordTwice()
DViewManagerImplTest.java44 import io.opencensus.stats.MeasureMap;
810 MeasureMap measureMap = statsRecorder.newMeasureMap(); in testMultipleViews_DifferentMeasures()
1011 private static MeasureMap putToMeasureMap(MeasureMap measureMap, Measure measure, double value) { in putToMeasureMap()
/external/opencensus-java/
DCHANGELOG.md19 - Add an API MeasureMap.putAttachment() for recording exemplars.