OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MEASURE_DOUBLE
(Results
1 - 9
of
9
) sorted by null
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
IntervalBucketTest.java
43
private static final MeasureDouble
MEASURE_DOUBLE
=
53
new IntervalBucket(null, MINUTE, MEAN,
MEASURE_DOUBLE
);
59
new IntervalBucket(START, null, MEAN,
MEASURE_DOUBLE
);
65
new IntervalBucket(START, NEGATIVE_TEN_SEC, MEAN,
MEASURE_DOUBLE
);
71
new IntervalBucket(START, MINUTE, null,
MEASURE_DOUBLE
);
82
assertThat(new IntervalBucket(START, MINUTE, MEAN,
MEASURE_DOUBLE
).getTagValueAggregationMap())
88
assertThat(new IntervalBucket(START, MINUTE, MEAN,
MEASURE_DOUBLE
).getStart()).isEqualTo(START);
93
IntervalBucket bucket = new IntervalBucket(START, MINUTE, MEAN,
MEASURE_DOUBLE
);
112
new IntervalBucket(START, MINUTE, MEAN,
MEASURE_DOUBLE
)
120
IntervalBucket bucket = new IntervalBucket(START, MINUTE, MEAN,
MEASURE_DOUBLE
);
[
all
...]
StatsRecorderImplTest.java
65
private static final MeasureDouble
MEASURE_DOUBLE
=
93
MEASURE_DOUBLE
,
98
statsRecorder.newMeasureMap().put(
MEASURE_DOUBLE
, 1.0).record();
112
MEASURE_DOUBLE
,
122
statsRecorder.newMeasureMap().put(
MEASURE_DOUBLE
, 1.0).record();
138
MEASURE_DOUBLE
,
146
.put(
MEASURE_DOUBLE
, 2.0)
156
StatsTestUtil.createAggregationData(Sum.create(),
MEASURE_DOUBLE
, 2.0)),
164
View.create(VIEW_NAME, "description",
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(KEY));
187
MEASURE_DOUBLE
,
[
all
...]
ViewManagerImplTest.java
89
private static final MeasureDouble
MEASURE_DOUBLE
=
128
return createCumulativeView(VIEW_NAME,
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(KEY));
150
View.Name.create("View 1"),
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(KEY));
153
View.Name.create("View 2"),
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(KEY));
158
MEASURE_DOUBLE
,
176
MEASURE_DOUBLE
,
187
MEASURE_DOUBLE
,
201
MEASURE_DOUBLE
,
225
MEASURE_DOUBLE
,
233
MEASURE_DOUBLE
,
[
all
...]
RecordUtilsTest.java
51
private static final MeasureDouble
MEASURE_DOUBLE
=
81
RecordUtils.createMutableAggregation(Sum.create(),
MEASURE_DOUBLE
).toAggregationData())
86
RecordUtils.createMutableAggregation(Count.create(),
MEASURE_DOUBLE
)
93
RecordUtils.createMutableAggregation(Mean.create(),
MEASURE_DOUBLE
).toAggregationData())
99
RecordUtils.createMutableAggregation(LastValue.create(),
MEASURE_DOUBLE
)
110
Distribution.create(bucketBoundaries),
MEASURE_DOUBLE
);
MetricUtilsTest.java
58
private static final MeasureDouble
MEASURE_DOUBLE
=
76
VIEW_NAME, VIEW_DESCRIPTION,
MEASURE_DOUBLE
, LAST_VALUE, Collections.singletonList(KEY));
81
MEASURE_DOUBLE
,
106
assertThat(MetricUtils.getType(
MEASURE_DOUBLE
, LAST_VALUE)).isEqualTo(Type.GAUGE_DOUBLE);
108
assertThat(MetricUtils.getType(
MEASURE_DOUBLE
, SUM)).isEqualTo(Type.CUMULATIVE_DOUBLE);
110
assertThat(MetricUtils.getType(
MEASURE_DOUBLE
, MEAN)).isEqualTo(Type.CUMULATIVE_DOUBLE);
112
assertThat(MetricUtils.getType(
MEASURE_DOUBLE
, COUNT)).isEqualTo(Type.CUMULATIVE_INT64);
114
assertThat(MetricUtils.getType(
MEASURE_DOUBLE
, DISTRIBUTION))
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
ViewDataTest.java
65
View view = View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, CUMULATIVE);
78
View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, INTERVAL_HOUR);
90
View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, CUMULATIVE);
92
View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, INTERVAL_HOUR);
173
View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, INTERVAL_HOUR),
183
View.create(NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, TAG_KEYS, CUMULATIVE),
197
createView(Sum.create(),
MEASURE_DOUBLE
),
229
createView(LastValue.create(),
MEASURE_DOUBLE
),
243
return createView(aggregation,
MEASURE_DOUBLE
);
297
private static final Measure
MEASURE_DOUBLE
[
all
...]
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
StackdriverExportUtilsTest.java
85
private static final MeasureDouble
MEASURE_DOUBLE
=
137
assertThat(StackdriverExportUtils.createValueType(SUM,
MEASURE_DOUBLE
))
141
assertThat(StackdriverExportUtils.createValueType(COUNT,
MEASURE_DOUBLE
))
145
assertThat(StackdriverExportUtils.createValueType(MEAN,
MEASURE_DOUBLE
))
149
assertThat(StackdriverExportUtils.createValueType(DISTRIBUTION,
MEASURE_DOUBLE
))
153
assertThat(StackdriverExportUtils.createValueType(LAST_VALUE,
MEASURE_DOUBLE
))
161
assertThat(StackdriverExportUtils.createUnit(SUM,
MEASURE_DOUBLE
)).isEqualTo(MEASURE_UNIT);
162
assertThat(StackdriverExportUtils.createUnit(COUNT,
MEASURE_DOUBLE
)).isEqualTo("1");
163
assertThat(StackdriverExportUtils.createUnit(MEAN,
MEASURE_DOUBLE
)).isEqualTo(MEASURE_UNIT);
164
assertThat(StackdriverExportUtils.createUnit(DISTRIBUTION,
MEASURE_DOUBLE
))
[
all
...]
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/
PrometheusExportUtilsTest.java
83
private static final MeasureDouble
MEASURE_DOUBLE
=
102
VIEW_NAME_1, DESCRIPTION,
MEASURE_DOUBLE
, COUNT, Arrays.asList(K1, K2), CUMULATIVE);
104
View.create(VIEW_NAME_2, DESCRIPTION,
MEASURE_DOUBLE
, MEAN, Arrays.asList(K3), CUMULATIVE);
107
VIEW_NAME_3, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(K1), CUMULATIVE);
109
View.create(VIEW_NAME_4, DESCRIPTION,
MEASURE_DOUBLE
, COUNT, Arrays.asList(K1), INTERVAL);
114
MEASURE_DOUBLE
,
PrometheusStatsCollectorTest.java
60
private static final MeasureDouble
MEASURE_DOUBLE
=
71
VIEW_NAME, DESCRIPTION,
MEASURE_DOUBLE
, DISTRIBUTION, Arrays.asList(K1, K2), CUMULATIVE);
76
MEASURE_DOUBLE
,
Completed in 118 milliseconds