@Test public void testDefaultKvTags() { val tags = MetricUtil.defaultKvTags(); assertEquals("", tags.get(MetricDefinition.UNIT)); assertEquals("gauge", tags.get(MetricDefinition.MTYPE)); }
public static Map<String, String> defaultKvTags() { val kvTags = new HashMap<String, String>(); kvTags.put(MetricDefinition.UNIT, ""); kvTags.put(MetricDefinition.MTYPE, "gauge"); return kvTags; }
MetricUtil { public static Map<String, String> defaultKvTags() { val kvTags = new HashMap<String, String>(); kvTags.put(MetricDefinition.UNIT, ""); kvTags.put(MetricDefinition.MTYPE, "gauge"); return kvTags; } }
MetricUtil { public static Map<String, String> defaultKvTags() { val kvTags = new HashMap<String, String>(); kvTags.put(MetricDefinition.UNIT, ""); kvTags.put(MetricDefinition.MTYPE, "gauge"); return kvTags; }  }
MetricUtil { public static Map<String, String> defaultKvTags() { val kvTags = new HashMap<String, String>(); kvTags.put(MetricDefinition.UNIT, ""); kvTags.put(MetricDefinition.MTYPE, "gauge"); return kvTags; }  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 Map<String, String> defaultKvTags() { val kvTags = new HashMap<String, String>(); kvTags.put(MetricDefinition.UNIT, ""); kvTags.put(MetricDefinition.MTYPE, "gauge"); return kvTags; }  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);  }