Class OpenTsdbMetricValueParser


  • public class OpenTsdbMetricValueParser
    extends java.lang.Object
    Parses MetricValues in OpenTSDB's ASCII format into MetricValue instances.

    Refer to OpenTSDB output formats for more details.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.elastisys.autoscaler.core.api.types.MetricValue parseMetricValue​(java.lang.String line)
      Parses a single line of OpenTSDB ASCII format into a MetricValue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenTsdbMetricValueParser

        public OpenTsdbMetricValueParser()
    • Method Detail

      • parseMetricValue

        public static com.elastisys.autoscaler.core.api.types.MetricValue parseMetricValue​(java.lang.String line)
        Parses a single line of OpenTSDB ASCII format into a MetricValue.
        Parameters:
        line - The line containing the OpenTSDB ASCII representation of a metric value.
        Returns:
        The parsed MetricValue.