Class StatsManagerConfig


  • public class StatsManagerConfig
    extends java.lang.Object
    The configs for stats.
    • Field Detail

      • STATS_OUTPUT_FILE_PATH

        public static final java.lang.String STATS_OUTPUT_FILE_PATH
        See Also:
        Constant Field Values
      • STATS_PUBLISH_PERIOD_IN_SECS

        public static final java.lang.String STATS_PUBLISH_PERIOD_IN_SECS
        See Also:
        Constant Field Values
      • STATS_INITIAL_DELAY_UPPER_BOUND_IN_SECS

        public static final java.lang.String STATS_INITIAL_DELAY_UPPER_BOUND_IN_SECS
        See Also:
        Constant Field Values
      • STATS_ENABLE_MYSQL_REPORT

        public static final java.lang.String STATS_ENABLE_MYSQL_REPORT
        See Also:
        Constant Field Values
      • STATS_HEALTH_REPORT_EXCLUDE_ACCOUNT_NAMES

        public static final java.lang.String STATS_HEALTH_REPORT_EXCLUDE_ACCOUNT_NAMES
        See Also:
        Constant Field Values
      • STATS_PUBLISH_EXCLUDE_ACCOUNT_NAMES

        public static final java.lang.String STATS_PUBLISH_EXCLUDE_ACCOUNT_NAMES
        See Also:
        Constant Field Values
      • outputFilePath

        @Config("stats.output.file.path")
        @Default("/tmp/stats_output.json")
        public final java.lang.String outputFilePath
        The file path (including filename) to be used for publishing the stats.
      • publishPeriodInSecs

        @Config("stats.publish.period.in.secs")
        @Default("7200")
        public final long publishPeriodInSecs
        The time period in seconds that configures how often stats are published.
      • initialDelayUpperBoundInSecs

        @Config("stats.initial.delay.upper.bound.in.secs")
        @Default("600")
        public final int initialDelayUpperBoundInSecs
        The upper bound for the initial delay in seconds before the first stats collection is triggered. The delay is a random number b/w 0 (inclusive) and this number (exclusive). If no initial delay is desired, this can be set to 0.
      • enableMysqlReport

        @Config("stats.enable.mysql.report")
        @Default("false")
        public final boolean enableMysqlReport
        True to enable publishing stats to mysql database
      • healthReportExcludeAccountNames

        @Config("stats.health.report.exclude.account.names")
        @Default("")
        public final java.util.List<java.lang.String> healthReportExcludeAccountNames
        The account names to exclude from the health report. Multiple account names should be separated with ",".
      • publishExcludeAccountNames

        @Config("stats.publish.exclude.account.names")
        @Default("")
        public final java.util.List<java.lang.String> publishExcludeAccountNames
        The account names to exclude from publishing to local disk and mysql database. Multiple account names should be separated with ",".
    • Constructor Detail