Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/main/java/io/opencensus/metrics/
DMetricRegistry.java49 String name, String description, String unit, List<LabelKey> labelKeys); in addLongGauge() argument
66 String name, String description, String unit, List<LabelKey> labelKeys); in addDoubleGauge() argument
83 String name, String description, String unit, List<LabelKey> labelKeys); in addDerivedLongGauge() argument
100 String name, String description, String unit, List<LabelKey> labelKeys); in addDerivedDoubleGauge() argument
110 String name, String description, String unit, List<LabelKey> labelKeys) { in addLongGauge() argument
112 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addLongGauge()
117 labelKeys); in addLongGauge()
122 String name, String description, String unit, List<LabelKey> labelKeys) { in addDoubleGauge() argument
124 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDoubleGauge()
129 labelKeys); in addDoubleGauge()
[all …]
DDerivedDoubleGauge.java110 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDerivedDoubleGauge() argument
111 return NoopDerivedDoubleGauge.create(name, description, unit, labelKeys); in newNoopDerivedDoubleGauge()
119 String name, String description, String unit, List<LabelKey> labelKeys) { in create() argument
120 return new NoopDerivedDoubleGauge(name, description, unit, labelKeys); in create()
124 NoopDerivedDoubleGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDerivedDoubleGauge() argument
129 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedDoubleGauge()
130 labelKeysSize = labelKeys.size(); in NoopDerivedDoubleGauge()
DDoubleGauge.java132 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDoubleGauge() argument
133 return NoopDoubleGauge.create(name, description, unit, labelKeys); in newNoopDoubleGauge()
165 String name, String description, String unit, List<LabelKey> labelKeys) { in create() argument
166 return new NoopDoubleGauge(name, description, unit, labelKeys); in create()
170 NoopDoubleGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDoubleGauge() argument
175 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDoubleGauge()
176 labelKeysSize = labelKeys.size(); in NoopDoubleGauge()
DDerivedLongGauge.java108 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDerivedLongGauge() argument
109 return NoopDerivedLongGauge.create(name, description, unit, labelKeys); in newNoopDerivedLongGauge()
117 String name, String description, String unit, List<LabelKey> labelKeys) { in create() argument
118 return new NoopDerivedLongGauge(name, description, unit, labelKeys); in create()
122 NoopDerivedLongGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDerivedLongGauge() argument
127 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedLongGauge()
128 labelKeysSize = labelKeys.size(); in NoopDerivedLongGauge()
DLongGauge.java129 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopLongGauge() argument
130 return NoopLongGauge.create(name, description, unit, labelKeys); in newNoopLongGauge()
162 String name, String description, String unit, List<LabelKey> labelKeys) { in create() argument
163 return new NoopLongGauge(name, description, unit, labelKeys); in create()
167 NoopLongGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopLongGauge() argument
168 labelKeysSize = labelKeys.size(); in NoopLongGauge()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/
DMetricRegistryImpl.java50 String name, String description, String unit, List<LabelKey> labelKeys) { in addLongGauge() argument
52 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addLongGauge()
58 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addLongGauge()
65 String name, String description, String unit, List<LabelKey> labelKeys) { in addDoubleGauge() argument
67 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDoubleGauge()
73 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addDoubleGauge()
80 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedLongGauge() argument
82 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDerivedLongGauge()
88 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addDerivedLongGauge()
95 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedDoubleGauge() argument
[all …]
DDerivedDoubleGaugeImpl.java54 DerivedDoubleGaugeImpl(String name, String description, String unit, List<LabelKey> labelKeys) { in DerivedDoubleGaugeImpl() argument
55 labelKeysSize = labelKeys.size(); in DerivedDoubleGaugeImpl()
57 MetricDescriptor.create(name, description, unit, Type.GAUGE_DOUBLE, labelKeys); in DerivedDoubleGaugeImpl()
DDerivedLongGaugeImpl.java54 DerivedLongGaugeImpl(String name, String description, String unit, List<LabelKey> labelKeys) { in DerivedLongGaugeImpl() argument
55 labelKeysSize = labelKeys.size(); in DerivedLongGaugeImpl()
57 MetricDescriptor.create(name, description, unit, Type.GAUGE_INT64, labelKeys); in DerivedLongGaugeImpl()
DLongGaugeImpl.java52 LongGaugeImpl(String name, String description, String unit, List<LabelKey> labelKeys) { in LongGaugeImpl() argument
53 labelKeysSize = labelKeys.size(); in LongGaugeImpl()
55 MetricDescriptor.create(name, description, unit, Type.GAUGE_INT64, labelKeys); in LongGaugeImpl()
DDoubleGaugeImpl.java52 DoubleGaugeImpl(String name, String description, String unit, List<LabelKey> labelKeys) { in DoubleGaugeImpl() argument
53 labelKeysSize = labelKeys.size(); in DoubleGaugeImpl()
55 MetricDescriptor.create(name, description, unit, Type.GAUGE_DOUBLE, labelKeys); in DoubleGaugeImpl()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DMetricRegistryTest.java77 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddLongGauge_WithNullElement() local
80 metricRegistry.addLongGauge(NAME, DESCRIPTION, UNIT, labelKeys); in noopAddLongGauge_WithNullElement()
113 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDoubleGauge_WithNullElement() local
116 metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, labelKeys); in noopAddDoubleGauge_WithNullElement()
149 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDerivedLongGauge_WithNullElement() local
152 metricRegistry.addDerivedLongGauge(NAME_3, DESCRIPTION, UNIT, labelKeys); in noopAddDerivedLongGauge_WithNullElement()
185 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDerivedDoubleGauge_WithNullElement() local
188 metricRegistry.addDerivedDoubleGauge(NAME_4, DESCRIPTION, UNIT, labelKeys); in noopAddDerivedDoubleGauge_WithNullElement()
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DMetricDescriptor.java52 String name, String description, String unit, Type type, List<LabelKey> labelKeys) { in create() argument
53 Utils.checkNotNull(labelKeys, "labelKeys"); in create()
54 Utils.checkListElementNotNull(labelKeys, "labelKey"); in create()
60 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in create()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DMetricRegistryImplTest.java122 List<LabelKey> labelKeys = Collections.singletonList(null); in addLongGauge_WithNullElement() local
125 metricRegistry.addLongGauge(NAME, DESCRIPTION, UNIT, labelKeys); in addLongGauge_WithNullElement()
158 List<LabelKey> labelKeys = Collections.singletonList(null); in addDoubleGauge_WithNullElement() local
161 metricRegistry.addDoubleGauge(NAME_2, DESCRIPTION, UNIT, labelKeys); in addDoubleGauge_WithNullElement()
194 List<LabelKey> labelKeys = Collections.singletonList(null); in addDerivedLongGauge_WithNullElement() local
197 metricRegistry.addDerivedLongGauge(NAME_3, DESCRIPTION, UNIT, labelKeys); in addDerivedLongGauge_WithNullElement()
230 List<LabelKey> labelKeys = Collections.singletonList(null); in addDerivedDoubleGauge_WithNullElement() local
233 metricRegistry.addDerivedDoubleGauge(NAME_4, DESCRIPTION, UNIT, labelKeys); in addDerivedDoubleGauge_WithNullElement()
DLongGaugeImplTest.java78 List<LabelKey> labelKeys = in getOrCreateTimeSeries_WithNullElement() local
83 new LongGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in getOrCreateTimeSeries_WithNullElement()
194 List<LabelKey> labelKeys = in setDefaultLabelValues() local
197 new LongGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in setDefaultLabelValues()
253 List<LabelKey> labelKeys = in testEquals() local
259 new LongGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in testEquals()
DDoubleGaugeImplTest.java78 List<LabelKey> labelKeys = in getOrCreateTimeSeries_WithNullElement() local
83 new DoubleGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in getOrCreateTimeSeries_WithNullElement()
199 List<LabelKey> labelKeys = in setDefaultLabelValues() local
202 new DoubleGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in setDefaultLabelValues()
258 List<LabelKey> labelKeys = in testEquals() local
264 new DoubleGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in testEquals()
DDerivedDoubleGaugeImplTest.java103 List<LabelKey> labelKeys = in createTimeSeries_WithNullElement() local
107 new DerivedDoubleGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in createTimeSeries_WithNullElement()
DDerivedLongGaugeImplTest.java105 List<LabelKey> labelKeys = in createTimeSeries_WithNullElement() local
110 new DerivedLongGaugeImpl(METRIC_NAME, METRIC_DESCRIPTION, METRIC_UNIT, labelKeys); in createTimeSeries_WithNullElement()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMetricUtils.java48 List<LabelKey> labelKeys = new ArrayList<LabelKey>(); in viewToMetricDescriptor() local
51 labelKeys.add(LabelKey.create(tagKey.getName(), "")); in viewToMetricDescriptor()
59 labelKeys); in viewToMetricDescriptor()