Home
last modified time | relevance | path

Searched refs:MeasureLong (Results 1 – 22 of 22) sorted by relevance

/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/
DRpcMeasureConstants.java21 import io.opencensus.stats.Measure.MeasureLong;
123 public static final MeasureLong RPC_CLIENT_ERROR_COUNT =
124 Measure.MeasureLong.create("grpc.io/client/error_count", "RPC Errors", COUNT);
197 public static final MeasureLong RPC_CLIENT_STARTED_COUNT =
198 Measure.MeasureLong.create(
209 public static final MeasureLong RPC_CLIENT_FINISHED_COUNT =
210 Measure.MeasureLong.create(
220 public static final MeasureLong RPC_CLIENT_REQUEST_COUNT =
221 Measure.MeasureLong.create(
231 public static final MeasureLong RPC_CLIENT_RESPONSE_COUNT =
[all …]
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DHttpMeasureConstants.java21 import io.opencensus.stats.Measure.MeasureLong;
46 public static final MeasureLong HTTP_CLIENT_SENT_BYTES =
47 Measure.MeasureLong.create(
60 public static final MeasureLong HTTP_CLIENT_RECEIVED_BYTES =
61 Measure.MeasureLong.create(
85 public static final MeasureLong HTTP_SERVER_RECEIVED_BYTES =
86 Measure.MeasureLong.create(
99 public static final MeasureLong HTTP_SERVER_SENT_BYTES =
100 Measure.MeasureLong.create(
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DMeasureTest.java26 import io.opencensus.stats.Measure.MeasureLong;
71 Measure measurement = Measure.MeasureLong.create("Bar", "The description of Bar", "1"); in testMeasureLongComponents()
91 Measure.MeasureLong.create("name", "description", "bit/s"), in testMeasureLongEquals()
92 Measure.MeasureLong.create("name", "description", "bit/s")) in testMeasureLongEquals()
93 .addEqualityGroup(Measure.MeasureLong.create("name", "description 2", "bit/s")) in testMeasureLongEquals()
102 MeasureLong.create("measure2", "description", "1")); in testMatch()
113 new Function<MeasureLong, String>() { in testMatch()
115 public String apply(MeasureLong arg) { in testMatch()
127 .isNotEqualTo(Measure.MeasureLong.create("name", "description", "bit/s")); in testMeasureDoubleIsNotEqualToMeasureLong()
DViewDataTest.java300 Measure.MeasureLong.create("measure2", "measure description", "1");
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DMeasure.java46 Function<? super MeasureLong, T> p1, in match() argument
118 Function<? super MeasureLong, T> p1, in match() argument
140 public abstract static class MeasureLong extends Measure { class in Measure
142 MeasureLong() {} in MeasureLong() method in Measure.MeasureLong
153 public static MeasureLong create(String name, String description, String unit) { in create()
163 Function<? super MeasureLong, T> p1, in match() argument
DMeasurement.java22 import io.opencensus.stats.Measure.MeasureLong;
107 public static MeasurementLong create(MeasureLong measure, long value) { in create()
112 public abstract MeasureLong getMeasure(); in getMeasure()
DMeasureMap.java21 import io.opencensus.stats.Measure.MeasureLong;
53 public abstract MeasureMap put(MeasureLong measure, long value); in put()
DViewData.java35 import io.opencensus.stats.Measure.MeasureLong;
259 new Function<MeasureLong, Void>() {
261 public Void apply(MeasureLong arg) {
301 new Function<MeasureLong, Void>() {
303 public Void apply(MeasureLong arg) {
DNoopStats.java23 import io.opencensus.stats.Measure.MeasureLong;
133 public MeasureMap put(MeasureLong measure, long value) { in put()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMeasureMapInternalTest.java24 import io.opencensus.stats.Measure.MeasureLong;
145 private static final MeasureLong M3 = makeSimpleMeasureLong("m3");
146 private static final MeasureLong M4 = makeSimpleMeasureLong("m4");
152 private static MeasureLong makeSimpleMeasureLong(String measure) { in makeSimpleMeasureLong()
153 return Measure.MeasureLong.create(measure, measure + " description", "1"); in makeSimpleMeasureLong()
DRecordUtilsTest.java36 import io.opencensus.stats.Measure.MeasureLong;
53 private static final MeasureLong MEASURE_LONG =
54 MeasureLong.create("measure2", "description", "1");
DMetricUtilsTest.java34 import io.opencensus.stats.Measure.MeasureLong;
60 private static final MeasureLong MEASURE_LONG =
61 MeasureLong.create(MEASURE_NAME_2, MEASURE_DESCRIPTION, MEASURE_UNIT);
DViewManagerImplTest.java43 import io.opencensus.stats.Measure.MeasureLong;
92 private static final MeasureLong MEASURE_LONG =
93 MeasureLong.create(MEASURE_NAME_2, MEASURE_DESCRIPTION, MEASURE_UNIT);
244 MeasureLong measure2 = MeasureLong.create("measure", "description", "1"); in preventRegisteringDifferentMeasureWithSameName()
654 MeasureLong.create(MEASURE_NAME, "measure", MEASURE_UNIT), in testRecord_MeasureTypeNotMatch()
795 MeasureLong.create(MEASURE_NAME_2, MEASURE_DESCRIPTION, MEASURE_UNIT), in testMultipleViews_DifferentMeasureTypes()
1014 } else if (measure instanceof MeasureLong) { in putToMeasureMap()
1015 return measureMap.put((MeasureLong) measure, Math.round(value)); in putToMeasureMap()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DRecordUtils.java39 import io.opencensus.stats.Measure.MeasureLong;
176 implements Function<MeasureLong, MutableAggregation> {
178 public MutableAggregation apply(MeasureLong arg) {
231 implements Function<MeasureLong, MutableAggregation> {
233 public MutableAggregation apply(MeasureLong arg) {
DMeasureMapImpl.java20 import io.opencensus.stats.Measure.MeasureLong;
45 public MeasureMapImpl put(MeasureLong measure, long value) { in put()
DMeasureMapInternal.java21 import io.opencensus.stats.Measure.MeasureLong;
83 Builder put(MeasureLong measure, long value) { in put()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/helloworld/
DQuickStart.java23 import io.opencensus.stats.Measure.MeasureLong;
58 private static final MeasureLong VIDEO_SIZE =
59 MeasureLong.create("my.org/measure/video_size", "size of processed videos", "By");
/external/opencensus-java/contrib/exemplar_util/src/test/java/io/opencensus/contrib/exemplar/util/
DExemplarUtilsTest.java24 import io.opencensus.stats.Measure.MeasureLong;
95 public MeasureMap put(MeasureLong measure, long value) { in put()
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExporterWorkerTest.java45 import io.opencensus.stats.Measure.MeasureLong;
77 private static final MeasureLong MEASURE =
78 MeasureLong.create(MEASURE_NAME, MEASURE_DESCRIPTION, MEASURE_UNIT);
DStackdriverExportUtilsTest.java52 import io.opencensus.stats.Measure.MeasureLong;
87 private static final MeasureLong MEASURE_LONG =
88 MeasureLong.create("measure2", MEASURE_DESCRIPTION, MEASURE_UNIT);
/external/opencensus-java/
DREADME.md123 import io.opencensus.stats.Measure.MeasureLong;
145 private static final MeasureLong VIDEO_SIZE =
146 MeasureLong.create("my.org/measure/video_size", "size of processed videos", "By");
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java238 public MeasureMap put(Measure.MeasureLong measure, long value) { in put()