/external/opencensus-java/api/src/test/java/io/opencensus/metrics/ |
D | LabelKeyTest.java | 31 private static final LabelKey KEY = LabelKey.create("key", "description"); 50 assertThat(LabelKey.create(key, "").getKey()).isEqualTo(key); in create_NoLengthConstraint() 57 LabelKey labelKey = LabelKey.create(key, description); in create_WithUnprintableChars() 66 LabelKey nonAsciiKey = LabelKey.create(key, description); in create_WithNonAsciiChars() 73 LabelKey emptyKey = LabelKey.create("", ""); in create_Empty() 81 .addEqualityGroup(LabelKey.create("foo", ""), LabelKey.create("foo", "")) in testLabelKeyEquals() 82 .addEqualityGroup(LabelKey.create("foo", "description")) in testLabelKeyEquals() 83 .addEqualityGroup(LabelKey.create("bar", "")) in testLabelKeyEquals()
|
D | DoubleGaugeTest.java | 38 private static final List<LabelKey> LABEL_KEY = 39 Collections.singletonList(LabelKey.create("key", "key description")); 42 private static final List<LabelKey> EMPTY_LABEL_KEYS = new ArrayList<LabelKey>();
|
D | LongGaugeTest.java | 38 private static final List<LabelKey> LABEL_KEY = 39 Collections.singletonList(LabelKey.create("key", "key description")); 42 private static final List<LabelKey> EMPTY_LABEL_KEYS = new ArrayList<LabelKey>();
|
D | MetricRegistryTest.java | 40 private static final List<LabelKey> LABEL_KEY = 41 Collections.singletonList(LabelKey.create("key", "key description")); 77 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddLongGauge_WithNullElement() 113 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDoubleGauge_WithNullElement() 149 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDerivedLongGauge_WithNullElement() 185 List<LabelKey> labelKeys = Collections.singletonList(null); in noopAddDerivedDoubleGauge_WithNullElement()
|
D | DerivedDoubleGaugeTest.java | 38 private static final List<LabelKey> LABEL_KEY = 39 Collections.singletonList(LabelKey.create("key", "key description"));
|
D | DerivedLongGaugeTest.java | 38 private static final List<LabelKey> LABEL_KEY = 39 Collections.singletonList(LabelKey.create("key", "key description"));
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/ |
D | MetricRegistry.java | 49 String name, String description, String unit, List<LabelKey> labelKeys); in addLongGauge() 66 String name, String description, String unit, List<LabelKey> labelKeys); in addDoubleGauge() 83 String name, String description, String unit, List<LabelKey> labelKeys); in addDerivedLongGauge() 100 String name, String description, String unit, List<LabelKey> labelKeys); in addDerivedDoubleGauge() 110 String name, String description, String unit, List<LabelKey> labelKeys) { in addLongGauge() 122 String name, String description, String unit, List<LabelKey> labelKeys) { in addDoubleGauge() 134 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedLongGauge() 146 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedDoubleGauge()
|
D | LabelKey.java | 31 public abstract class LabelKey { class 33 LabelKey() {} in LabelKey() method in LabelKey 43 public static LabelKey create(String key, String description) { in create()
|
D | LongGauge.java | 129 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopLongGauge() 162 String name, String description, String unit, List<LabelKey> labelKeys) { in create() 167 NoopLongGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopLongGauge()
|
D | DerivedLongGauge.java | 108 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDerivedLongGauge() 117 String name, String description, String unit, List<LabelKey> labelKeys) { in create() 122 NoopDerivedLongGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDerivedLongGauge()
|
D | DoubleGauge.java | 132 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDoubleGauge() 165 String name, String description, String unit, List<LabelKey> labelKeys) { in create() 170 NoopDoubleGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDoubleGauge()
|
D | DerivedDoubleGauge.java | 110 String name, String description, String unit, List<LabelKey> labelKeys) { in newNoopDerivedDoubleGauge() 119 String name, String description, String unit, List<LabelKey> labelKeys) { in create() 124 NoopDerivedDoubleGauge(String name, String description, String unit, List<LabelKey> labelKeys) { in NoopDerivedDoubleGauge()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/ |
D | MetricRegistryImpl.java | 26 import io.opencensus.metrics.LabelKey; 50 String name, String description, String unit, List<LabelKey> labelKeys) { in addLongGauge() 58 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addLongGauge() 65 String name, String description, String unit, List<LabelKey> labelKeys) { in addDoubleGauge() 73 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addDoubleGauge() 80 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedLongGauge() 88 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addDerivedLongGauge() 95 String name, String description, String unit, List<LabelKey> labelKeys) { in addDerivedDoubleGauge() 103 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in addDerivedDoubleGauge()
|
D | DerivedLongGaugeImpl.java | 26 import io.opencensus.metrics.LabelKey; 54 DerivedLongGaugeImpl(String name, String description, String unit, List<LabelKey> labelKeys) { in DerivedLongGaugeImpl()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/ |
D | DoubleGaugeImplTest.java | 25 import io.opencensus.metrics.LabelKey; 52 private static final List<LabelKey> LABEL_KEY = 53 Collections.singletonList(LabelKey.create("key", "key description")); 78 List<LabelKey> labelKeys = in getOrCreateTimeSeries_WithNullElement() 79 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in getOrCreateTimeSeries_WithNullElement() 199 List<LabelKey> labelKeys = in setDefaultLabelValues() 200 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in setDefaultLabelValues() 258 List<LabelKey> labelKeys = in testEquals() 259 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in testEquals()
|
D | LongGaugeImplTest.java | 24 import io.opencensus.metrics.LabelKey; 52 private static final List<LabelKey> LABEL_KEY = 53 Collections.singletonList(LabelKey.create("key", "key description")); 78 List<LabelKey> labelKeys = in getOrCreateTimeSeries_WithNullElement() 79 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in getOrCreateTimeSeries_WithNullElement() 194 List<LabelKey> labelKeys = in setDefaultLabelValues() 195 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in setDefaultLabelValues() 253 List<LabelKey> labelKeys = in testEquals() 254 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in testEquals()
|
D | DerivedLongGaugeImplTest.java | 23 import io.opencensus.metrics.LabelKey; 50 private static final List<LabelKey> LABEL_KEY = 51 Collections.singletonList(LabelKey.create("key", "key description")); 105 List<LabelKey> labelKeys = in createTimeSeries_WithNullElement() 106 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in createTimeSeries_WithNullElement()
|
D | DerivedDoubleGaugeImplTest.java | 23 import io.opencensus.metrics.LabelKey; 50 private static final List<LabelKey> LABEL_KEY = 51 Collections.singletonList(LabelKey.create("key", "key description")); 103 List<LabelKey> labelKeys = in createTimeSeries_WithNullElement() 104 Arrays.asList(LabelKey.create("key1", "desc"), LabelKey.create("key2", "desc")); in createTimeSeries_WithNullElement()
|
D | MetricRegistryImplTest.java | 28 import io.opencensus.metrics.LabelKey; 59 private static final List<LabelKey> LABEL_KEY = 60 Collections.singletonList(LabelKey.create("key", "key description")); 122 List<LabelKey> labelKeys = Collections.singletonList(null); in addLongGauge_WithNullElement() 158 List<LabelKey> labelKeys = Collections.singletonList(null); in addDoubleGauge_WithNullElement() 194 List<LabelKey> labelKeys = Collections.singletonList(null); in addDerivedLongGauge_WithNullElement() 230 List<LabelKey> labelKeys = Collections.singletonList(null); in addDerivedDoubleGauge_WithNullElement()
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | MetricDescriptorTest.java | 22 import io.opencensus.metrics.LabelKey; 43 private static final LabelKey KEY_1 = LabelKey.create("key1", "some key"); 44 private static final LabelKey KEY_2 = LabelKey.create("key2", "some other key"); 67 List<LabelKey> keys = Arrays.asList(KEY_1, null); in preventNullLabelKey()
|
D | MetricTest.java | 23 import io.opencensus.metrics.LabelKey; 46 private static final LabelKey KEY_1 = LabelKey.create("key1", "some key"); 47 private static final LabelKey KEY_2 = LabelKey.create("key1", "some other key");
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
D | MetricDescriptor.java | 22 import io.opencensus.metrics.LabelKey; 52 String name, String description, String unit, Type type, List<LabelKey> labelKeys) { in create() 60 Collections.unmodifiableList(new ArrayList<LabelKey>(labelKeys))); in create() 101 public abstract List<LabelKey> getLabelKeys(); in getLabelKeys()
|
/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/ |
D | DropWizardMetricsTest.java | 28 import io.opencensus.metrics.LabelKey; 135 Collections.<LabelKey>emptyList())); in collect() 151 Collections.<LabelKey>emptyList())); in collect() 167 Collections.<LabelKey>emptyList())); in collect() 183 Collections.<LabelKey>emptyList())); in collect() 199 Collections.<LabelKey>emptyList())); in collect() 215 Collections.<LabelKey>emptyList())); in collect() 231 Collections.<LabelKey>emptyList())); in collect() 246 Collections.<LabelKey>emptyList())); in collect() 275 Collections.<LabelKey>emptyList())); in collect()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MetricUtils.java | 22 import io.opencensus.metrics.LabelKey; 48 List<LabelKey> labelKeys = new ArrayList<LabelKey>(); in viewToMetricDescriptor() 51 labelKeys.add(LabelKey.create(tagKey.getName(), "")); in viewToMetricDescriptor()
|
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/ |
D | DropWizardMetrics.java | 29 import io.opencensus.metrics.LabelKey; 106 metricName, metricDescription, DEFAULT_UNIT, type, Collections.<LabelKey>emptyList()); in collectGauge() 131 Collections.<LabelKey>emptyList()); in collectCounter() 157 Collections.<LabelKey>emptyList()); in collectMeter() 229 Collections.<LabelKey>emptyList()); in collectSnapshotAndCount()
|