HomeSort by relevance Sort by last modified time
    Searched refs:labelValues (Results 1 - 21 of 21) sorted by null

  /external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
TimeSeries.java 46 * @param labelValues the {@code LabelValue}s that uniquely identify this {@code TimeSeries}.
54 List<LabelValue> labelValues, List<Point> points, @Nullable Timestamp startTimestamp) {
58 labelValues, Collections.unmodifiableList(new ArrayList<Point>(points)), startTimestamp);
64 * @param labelValues the {@code LabelValue}s that uniquely identify this {@code TimeSeries}.
72 List<LabelValue> labelValues, Point point, @Nullable Timestamp startTimestamp) {
74 return createInternal(labelValues, Collections.singletonList(point), startTimestamp);
80 * @param labelValues the {@code LabelValue}s that uniquely identify this {@code TimeSeries}.
87 List<LabelValue> labelValues, List<Point> points, @Nullable Timestamp startTimestamp) {
89 Utils.checkNotNull(labelValues, "labelValues");
    [all...]
  /external/opencensus-java/api/src/main/java/io/opencensus/metrics/
LongGauge.java 57 * List<LabelValue> labelValues = Arrays.asList(LabelValue.create("Inbound"));
62 * LongPoint inboundPoint = gauge.getOrCreateTimeSeries(labelValues);
79 * labelValues} is not already associated with this gauge, else returns an existing {@code
85 * @param labelValues the list of label values. The number of label values must be the same to
88 * @throws NullPointerException if {@code labelValues} is null OR any element of {@code
89 * labelValues} is null.
90 * @throws IllegalArgumentException if number of {@code labelValues}s are not equal to the label
94 public abstract LongPoint getOrCreateTimeSeries(List<LabelValue> labelValues);
108 * @param labelValues the list of label values.
109 * @throws NullPointerException if {@code labelValues} is null
    [all...]
DerivedDoubleGauge.java 41 * List<LabelValue> labelValues = Arrays.asList(LabelValue.create("Inbound"));
47 * gauge.createTimeSeries(labelValues, queueManager,
72 * @param labelValues the list of label values.
76 * @throws NullPointerException if {@code labelValues} is null OR any element of {@code
77 * labelValues} is null OR {@code function} is null.
79 * OR if number of {@code labelValues}s are not equal to the label keys.
83 List<LabelValue> labelValues,
90 * @param labelValues the list of label values.
91 * @throws NullPointerException if {@code labelValues} is null.
94 public abstract void removeTimeSeries(List<LabelValue> labelValues);
    [all...]
DerivedLongGauge.java 41 * List<LabelValue> labelValues = Arrays.asList(LabelValue.create("Inbound"));
47 * gauge.createTimeSeries(labelValues, queueManager,
72 * @param labelValues the list of label values.
76 * @throws NullPointerException if {@code labelValues} is null OR any element of {@code
77 * labelValues} is null OR {@code function} is null.
79 * OR if number of {@code labelValues}s are not equal to the label keys.
83 List<LabelValue> labelValues, /*@Nullable*/ T obj, ToLongFunction</*@Nullable*/ T> function);
88 * @param labelValues the list of label values.
89 * @throws NullPointerException if {@code labelValues} is null.
92 public abstract void removeTimeSeries(List<LabelValue> labelValues);
    [all...]
DoubleGauge.java 58 * List<LabelValue> labelValues = Arrays.asList(LabelValue.create("Inbound"));
64 * DoublePoint inboundPoint = gauge.getOrCreateTimeSeries(labelValues);
81 * labelValues} is not already associated with this gauge, else returns an existing {@code
87 * @param labelValues the list of label values. The number of label values must be the same to
90 * @throws NullPointerException if {@code labelValues} is null OR any element of {@code
91 * labelValues} is null.
92 * @throws IllegalArgumentException if number of {@code labelValues}s are not equal to the label
96 public abstract DoublePoint getOrCreateTimeSeries(List<LabelValue> labelValues);
110 * @param labelValues the list of label values.
111 * @throws NullPointerException if {@code labelValues} is null or any element of {@cod
    [all...]
  /external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/
DoubleGaugeImpl.java 65 public DoublePoint getOrCreateTimeSeries(List<LabelValue> labelValues) {
67 PointImpl existingPoint = registeredPoints.get(labelValues);
74 new ArrayList<LabelValue>(checkNotNull(labelValues, "labelValues")));
89 public synchronized void removeTimeSeries(List<LabelValue> labelValues) {
90 checkNotNull(labelValues, "labelValues");
94 if (registeredPointsCopy.remove(labelValues) == null) {
106 private synchronized DoublePoint registerTimeSeries(List<LabelValue> labelValues) {
107 PointImpl existingPoint = registeredPoints.get(labelValues);
    [all...]
LongGaugeImpl.java 65 public LongPoint getOrCreateTimeSeries(List<LabelValue> labelValues) {
67 PointImpl existingPoint = registeredPoints.get(labelValues);
74 new ArrayList<LabelValue>(checkNotNull(labelValues, "labelValues")));
89 public synchronized void removeTimeSeries(List<LabelValue> labelValues) {
90 checkNotNull(labelValues, "labelValues");
94 if (registeredPointsCopy.remove(labelValues) == null) {
106 private synchronized LongPoint registerTimeSeries(List<LabelValue> labelValues) {
107 PointImpl existingPoint = registeredPoints.get(labelValues);
    [all...]
DerivedDoubleGaugeImpl.java 63 List<LabelValue> labelValues,
67 checkNotNull(labelValues, "labelValues"), "labelValue element should not be null.");
68 checkArgument(labelKeysSize == labelValues.size(), "Incorrect number of labels.");
72 Collections.<LabelValue>unmodifiableList(new ArrayList<LabelValue>(labelValues));
91 public synchronized void removeTimeSeries(List<LabelValue> labelValues) {
92 checkNotNull(labelValues, "labelValues");
96 if (registeredPointsCopy.remove(labelValues) == null) {
133 private final List<LabelValue> labelValues;
    [all...]
DerivedLongGaugeImpl.java 63 List<LabelValue> labelValues, /*@Nullable*/ T obj, ToLongFunction</*@Nullable*/ T> function) {
65 checkNotNull(labelValues, "labelValues"), "labelValue element should not be null.");
66 checkArgument(labelKeysSize == labelValues.size(), "Incorrect number of labels.");
70 Collections.unmodifiableList(new ArrayList<LabelValue>(labelValues));
89 public synchronized void removeTimeSeries(List<LabelValue> labelValues) {
90 checkNotNull(labelValues, "labelValues");
94 if (registeredPointsCopy.remove(labelValues) == null) {
131 private final List<LabelValue> labelValues;
    [all...]
  /external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/
PrometheusExportUtils.java 164 final List<String> labelValues = new ArrayList<String>(tagValues.size());
167 labelValues.add(labelValue);
174 samples.add(new Sample(name, labelNames, labelValues, arg.getSum()));
181 samples.add(new Sample(name, labelNames, labelValues, arg.getSum()));
188 samples.add(new Sample(name, labelNames, labelValues, arg.getCount()));
204 List<String> labelValuesWithLe = new ArrayList<String>(labelValues);
222 name + SAMPLE_SUFFIX_COUNT, labelNames, labelValues, arg.getCount()));
227 labelValues,
235 samples.add(new Sample(name, labelNames, labelValues, arg.getLastValue()));
242 samples.add(new Sample(name, labelNames, labelValues, arg.getLastValue()))
    [all...]
  /external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
MetricUtils.java 81 List<LabelValue> labelValues = new ArrayList<LabelValue>();
83 labelValues.add(LabelValue.create(tagValue == null ? null : tagValue.asString()));
85 return labelValues;
MutableViewData.java 140 List<LabelValue> labelValues = MetricUtils.tagValuesToLabelValues(entry.getKey());
142 timeSeriesList.add(TimeSeries.createWithOnePoint(labelValues, point, startTime));
  /external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DerivedDoubleGaugeTest.java 57 thrown.expectMessage("labelValues");
63 List<LabelValue> labelValues = Collections.singletonList(null);
66 derivedDoubleGauge.createTimeSeries(labelValues, null, doubleFunction);
86 thrown.expectMessage("labelValues");
DerivedLongGaugeTest.java 57 thrown.expectMessage("labelValues");
63 List<LabelValue> labelValues = Collections.singletonList(null);
66 derivedLongGauge.createTimeSeries(labelValues, null, longFunction);
86 thrown.expectMessage("labelValues");
DoubleGaugeTest.java 52 thrown.expectMessage("labelValues");
58 List<LabelValue> labelValues = Collections.singletonList(null);
62 doubleGauge.getOrCreateTimeSeries(labelValues);
77 thrown.expectMessage("labelValues");
LongGaugeTest.java 51 thrown.expectMessage("labelValues");
57 List<LabelValue> labelValues = Collections.singletonList(null);
61 longGauge.getOrCreateTimeSeries(labelValues);
76 thrown.expectMessage("labelValues");
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DoubleGaugeImplTest.java 72 thrown.expectMessage("labelValues");
80 List<LabelValue> labelValues = Arrays.asList(LabelValue.create("value1"), null);
86 doubleGauge.getOrCreateTimeSeries(labelValues);
91 List<LabelValue> labelValues =
96 doubleGauge.getOrCreateTimeSeries(labelValues);
177 thrown.expectMessage("labelValues");
260 List<LabelValue> labelValues =
268 DoublePoint doublePoint1 = doubleGauge.getOrCreateTimeSeries(labelValues);
269 DoublePoint doublePoint2 = doubleGauge.getOrCreateTimeSeries(labelValues);
279 DoublePoint newDoublePointAfterClear = doubleGauge.getOrCreateTimeSeries(labelValues);
    [all...]
LongGaugeImplTest.java 72 thrown.expectMessage("labelValues");
80 List<LabelValue> labelValues = Arrays.asList(LabelValue.create("value1"), null);
86 longGauge.getOrCreateTimeSeries(labelValues);
91 List<LabelValue> labelValues =
96 longGaugeMetric.getOrCreateTimeSeries(labelValues);
172 thrown.expectMessage("labelValues");
255 List<LabelValue> labelValues =
263 LongPoint longPoint1 = longGauge.getOrCreateTimeSeries(labelValues);
264 LongPoint longPoint2 = longGauge.getOrCreateTimeSeries(labelValues);
274 LongPoint newLongPointAfterClear = longGauge.getOrCreateTimeSeries(labelValues);
    [all...]
DerivedLongGaugeImplTest.java 99 thrown.expectMessage("labelValues");
107 List<LabelValue> labelValues = Arrays.asList(LabelValue.create("value1"), null);
113 derivedLongGauge.createTimeSeries(labelValues, null, longFunction);
118 List<LabelValue> labelValues =
123 derivedLongGauge.createTimeSeries(labelValues, null, longFunction);
176 thrown.expectMessage("labelValues");
DerivedDoubleGaugeImplTest.java 97 thrown.expectMessage("labelValues");
105 List<LabelValue> labelValues = Arrays.asList(LabelValue.create("value1"), null);
110 derivedDoubleGauge.createTimeSeries(labelValues, null, doubleFunction);
115 List<LabelValue> labelValues =
119 derivedDoubleGauge.createTimeSeries(labelValues, null, doubleFunction);
177 thrown.expectMessage("labelValues");
  /external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
TimeSeriesTest.java 65 thrown.expectMessage(CoreMatchers.equalTo("labelValues"));
71 List<LabelValue> labelValues = Arrays.asList(LABEL_VALUE_1, null);
74 TimeSeries.create(labelValues, Collections.<Point>emptyList(), TIMESTAMP_1);
107 thrown.expectMessage(CoreMatchers.equalTo("labelValues"));
113 List<LabelValue> labelValues = Arrays.asList(LABEL_VALUE_1, null);
116 TimeSeries.createWithOnePoint(labelValues, POINT_1, TIMESTAMP_1);

Completed in 2038 milliseconds