Class InfluxdbMetricStream

  • All Implemented Interfaces:
    com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStream

    public class InfluxdbMetricStream
    extends java.lang.Object
    implements com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStream
    A MetricStream that retrieves values from an InfluxDB server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      java.lang.String getMetric()  
      com.elastisys.autoscaler.core.monitoring.metricstreamer.api.query.QueryResultSet query​(org.joda.time.Interval interval, com.elastisys.autoscaler.core.monitoring.metricstreamer.api.query.QueryOptions options)  
      • Methods inherited from class java.lang.Object

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

      • InfluxdbMetricStream

        public InfluxdbMetricStream​(org.slf4j.Logger logger,
                                    MetricStreamConfig config)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStream
      • getMetric

        public java.lang.String getMetric()
        Specified by:
        getMetric in interface com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStream
      • query

        public com.elastisys.autoscaler.core.monitoring.metricstreamer.api.query.QueryResultSet query​(org.joda.time.Interval interval,
                                                                                                      com.elastisys.autoscaler.core.monitoring.metricstreamer.api.query.QueryOptions options)
                                                                                               throws com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStreamException
        Specified by:
        query in interface com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStream
        Throws:
        com.elastisys.autoscaler.core.monitoring.metricstreamer.api.MetricStreamException