Class NetdataAdapterPreferences


  • public class NetdataAdapterPreferences
    extends eu.binjr.core.data.adapters.DataAdapterPreferences
    Defines the preferences associated with the Netdata adapter.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class eu.binjr.common.preferences.ReloadableItemStore

        eu.binjr.common.preferences.ReloadableItemStore.Reloadable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      eu.binjr.common.preferences.Preference<java.lang.Boolean> disableServerSideDownsampling
      Set to true to disable server-side down-sampling (aka "grouping").
      eu.binjr.common.preferences.Preference<java.lang.Boolean> disableTimeFrameAlignment
      Set to true to disable Netdata alignment of all series on the same time-frame.
      eu.binjr.common.preferences.Preference<java.lang.Number> fetchReadAheadSeconds  
      eu.binjr.common.preferences.Preference<java.lang.Number> fetchReadBehindSeconds  
      eu.binjr.common.preferences.Preference<GroupingMethod> groupingMethod
      Netdata's grouping (i.e.
      eu.binjr.common.preferences.Preference<java.lang.Number> groupingTime
      The grouping number of seconds.
      eu.binjr.common.preferences.Preference<java.lang.Number> maxSamplesAllowed
      The maximum number of samples to recover from Netdata.
      • Fields inherited from class eu.binjr.core.data.adapters.DataAdapterPreferences

        enabled
      • Fields inherited from class eu.binjr.common.preferences.ReloadableItemStore

        backingStore, storedItems
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NetdataAdapterPreferences getInstance()  
      • Methods inherited from class eu.binjr.common.preferences.PreferenceFactory

        booleanPreference, doublePreference, enumPreference, getByName, integerPreference, localDateTimePreference, longPreference, objectPreference, pathPreference, stringPreference, toString, zoneDateTimePreference
      • Methods inherited from class eu.binjr.common.preferences.ReloadableItemStore

        exportToFile, getAll, getByName, importFromFile, reload, reset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • disableServerSideDownsampling

        public eu.binjr.common.preferences.Preference<java.lang.Boolean> disableServerSideDownsampling
        Set to true to disable server-side down-sampling (aka "grouping"). Client-side down-sampling will still be applied.
      • disableTimeFrameAlignment

        public eu.binjr.common.preferences.Preference<java.lang.Boolean> disableTimeFrameAlignment
        Set to true to disable Netdata alignment of all series on the same time-frame.
      • groupingMethod

        public eu.binjr.common.preferences.Preference<GroupingMethod> groupingMethod
        Netdata's grouping (i.e. down-sampling) method: If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping.
      • groupingTime

        public eu.binjr.common.preferences.Preference<java.lang.Number> groupingTime
        The grouping number of seconds. This is used in conjunction with group=average to change the units of metrics (ie when the data is per-second, setting gtime=60 will turn them to per-minute).
      • fetchReadBehindSeconds

        public final eu.binjr.common.preferences.Preference<java.lang.Number> fetchReadBehindSeconds
      • fetchReadAheadSeconds

        public final eu.binjr.common.preferences.Preference<java.lang.Number> fetchReadAheadSeconds
      • maxSamplesAllowed

        public eu.binjr.common.preferences.Preference<java.lang.Number> maxSamplesAllowed
        The maximum number of samples to recover from Netdata. 0 means every available samples will be returned.