Package org.kairosdb.metrics4j.internal
Class FormattedMetric
- java.lang.Object
-
- org.kairosdb.metrics4j.internal.FormattedMetric
-
public class FormattedMetric extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormattedMetric.Sample
-
Constructor Summary
Constructors Constructor Description FormattedMetric(ReportedMetric metric, Map<String,String> props, Map<String,String> staticTags, String help)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSample(ReportedMetric.Sample sample, String formattedName)StringgetClassName()Map<String,String>getContext()Returns context specific to this data point.StringgetHelp()StringgetMethodName()ReportedMetricgetMetric()Map<String,String>getProps()List<FormattedMetric.Sample>getSamples()Map<String,String>getTags()
-
-
-
Method Detail
-
addSample
public void addSample(ReportedMetric.Sample sample, String formattedName)
-
getMetric
public ReportedMetric getMetric()
-
getClassName
public String getClassName()
-
getMethodName
public String getMethodName()
-
getSamples
public List<FormattedMetric.Sample> getSamples()
-
getHelp
public String getHelp()
-
-