Class OpenTsdbDataPointRepresenter


  • public class OpenTsdbDataPointRepresenter
    extends java.lang.Object
    Represents a given data point in the format required by the OpenTSDB's telnet protocol. See OpenTSDB's metrics discussion.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String representDataPoint​(MetricValue dataPoint)
      Represents a given data point in the format required by the OpenTSDB Telnet protocol.
      • Methods inherited from class java.lang.Object

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

      • OpenTsdbDataPointRepresenter

        public OpenTsdbDataPointRepresenter()
    • Method Detail

      • representDataPoint

        public static java.lang.String representDataPoint​(MetricValue dataPoint)
        Represents a given data point in the format required by the OpenTSDB Telnet protocol. See OpenTSDB's overview page.
        Parameters:
        dataPoint - The data point.
        Returns:
        An OpenTSDB Telnet protocol representation of the data point and any associated tags and their values.