Package com.wavefront.ingester
Class ReportMetricSerializer
- java.lang.Object
-
- com.wavefront.ingester.ReportMetricSerializer
-
- All Implemented Interfaces:
Function<ReportMetric,String>
public class ReportMetricSerializer extends Object implements Function<ReportMetric,String>
Convert aReportMetricto its string representation in a canonical format (quoted metric name, tag values and keys (except for "source").- Author:
- vasily@wavefront.com
-
-
Constructor Summary
Constructors Constructor Description ReportMetricSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(ReportMetric point)static StringmetricToString(ReportMetric point)
-
-
-
Method Detail
-
apply
public String apply(ReportMetric point)
- Specified by:
applyin interfaceFunction<ReportMetric,String>
-
metricToString
public static String metricToString(ReportMetric point)
-
-