@Test public void testMetricDefinition_nullTags() { val metricDef = MetricUtil.metricDefinition(null, null); val tagCollection = metricDef.getTags(); assertNotNull(tagCollection.getKv()); assertNotNull(tagCollection.getV()); }
public static MetricDefinition metricDefinition() { return new MetricDefinition(new TagCollection(defaultKvTags(), defaultVTags())); }
MetricUtil { public static MetricDefinition metricDefinition() { return new MetricDefinition(new TagCollection(defaultKvTags(), defaultVTags())); } }
MetricUtil { public static MetricDefinition metricDefinition() { return new MetricDefinition(new TagCollection(defaultKvTags(), defaultVTags())); }  }
MetricUtil { public static MetricDefinition metricDefinition() { return new MetricDefinition(new TagCollection(defaultKvTags(), defaultVTags())); }  static Map<String, String> defaultKvTags(); static Set<String> defaultVTags(); static MetricDefinition metricDefinition(); static MetricDefinition metricDefinition(Map<String, String> kvTags, Set<String> vTags); static MetricData metricData(MetricDefinition metricDef); static MetricData metricData(MetricDefinition metricDef, double value); static MetricData metricData(MetricDefinition metricDef, double value, long epochSecond); static String getDataRetrievalValue(MappedMetricData mappedMetricData, String dataRetrievalTagKey); }
MetricUtil { public static MetricDefinition metricDefinition() { return new MetricDefinition(new TagCollection(defaultKvTags(), defaultVTags())); }  static Map<String, String> defaultKvTags(); static Set<String> defaultVTags(); static MetricDefinition metricDefinition(); static MetricDefinition metricDefinition(Map<String, String> kvTags, Set<String> vTags); static MetricData metricData(MetricDefinition metricDef); static MetricData metricData(MetricDefinition metricDef, double value); static MetricData metricData(MetricDefinition metricDef, double value, long epochSecond); static String getDataRetrievalValue(MappedMetricData mappedMetricData, String dataRetrievalTagKey);  }