Package com.wavefront.common
Class TaggedMetricName
- java.lang.Object
-
- com.yammer.metrics.core.MetricName
-
- com.wavefront.common.TaggedMetricName
-
- All Implemented Interfaces:
Comparable<com.yammer.metrics.core.MetricName>
public class TaggedMetricName extends com.yammer.metrics.core.MetricNameA taggable metric name.- Author:
- Clement Pang (clement@wavefront.com)
-
-
Constructor Summary
Constructors Constructor Description TaggedMetricName(String group, String name)A simple metric that would be concatenated when reported, e.g.TaggedMetricName(String group, String name, Pair<String,String>... tags)TaggedMetricName(String group, String name, String... tagAndValues)TaggedMetricName(String group, String name, Map<String,String> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,String>getTags()inthashCode()voidupdatePointBuilder(ReportPoint.Builder builder)
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.yammer.metrics.core.MetricName
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.yammer.metrics.core.MetricName
-
updatePointBuilder
public void updatePointBuilder(ReportPoint.Builder builder)
-
-