Blame | Last modification | View Log | RSS feed
# ==================================================# Stat4J configuration properties file# ==================================================# Statistics# Default factory for creating statistics and calculatorsfactory.name=DefaultFactoryfactory.DefaultFactory.classname=net.sourceforge.stat4j.config.ResourceBundleStatisticsFactoryfactory.DefaultFactory.bundle=stat4j# ErrorRatestatistic.ErrorRate.description=Errors per secondstatistic.ErrorRate.calculator=ratestatistic.ErrorRate.first.match=[a-z,:./&()+@ A-Z1-9]*#statistic.ErrorRate.first.match=*# Calculatorscalculator.average.classname=net.sourceforge.stat4j.calculators.Averagecalculator.min.classname=net.sourceforge.stat4j.calculators.Minimumcalculator.max.classname=net.sourceforge.stat4j.calculators.Maximumcalculator.rate.classname=net.sourceforge.stat4j.calculators.Ratecalculator.rate.period=1000calculator.runningcount.classname=net.sourceforge.stat4j.calculators.RunningCountcalculator.maxcount.classname=net.sourceforge.stat4j.calculators.MaxCountcalculator.simple.classname=net.sourceforge.stat4j.calculators.Simplecalculator.sum.classname=net.sourceforge.stat4j.calculators.Sum# Reported time to process poststatistic.TimeToPost.description=Last Time to process post reported by systemstatistic.TimeToPost.calculator=simplestatistic.TimeToPost.first.match=.*Time to process post=.*statistic.TimeToPost.first.scrape=.*post={0}# Time post loggedstatistic.PostTime.description=Post timestatistic.PostTime.unit=timestatistic.PostTime.calculator=simplestatistic.PostTime.first.match=.*Time to process post=.*# Free memory post logged#statistic.PostFreeMem.description=Post memory#statistic.PostFreeMem.unit=memory#statistic.PostFreeMem.calculator=simple#statistic.PostFreeMem.first.match=.*Time to process post=.*# Max reported Time to process poststatistic.MaxTimeToPost.description=Maximum Time to process post reported by systemstatistic.MaxTimeToPost.calculator=maxstatistic.MaxTimeToPost.first.match=.*Time to process post=.*statistic.MaxTimeToPost.first.scrape=.*post={0}# Min reported Time to process poststatistic.MinTimeToPost.description=Minimum time to process post reported by systemstatistic.MinTimeToPost.calculator=minstatistic.MinTimeToPost.first.match=.*Time to process post=.*statistic.MinTimeToPost.first.scrape=.*post={0}# Avg reported Time to process poststatistic.AvgTimeToPost.description=Average time to process post reported by systemstatistic.AvgTimeToPost.calculator=averagestatistic.AvgTimeToPost.first.match=.*Time to process post=.*statistic.AvgTimeToPost.first.scrape=.*post={0}# User session semantics (across threads)# Method level semantics (in thread)# Business level semantics (sc# Post durationstatistic.ActualTimeToPost.description=Actual time to process poststatistic.ActualTimeToPost.unit=timestatistic.ActualTimeToPost.threadlocal=truestatistic.ActualTimeToPost.calculator=simplestatistic.ActualTimeToPost.first.match=.*Star Post.*statistic.ActualTimeToPost.second.match=.*End Post.*# Alerts# User upper limit reached#alert.MaxUserLimit.description=Maximum Number of users reached#alert.MaxUserLimit.statistic=UserCount#alert.MaxUserLimit.warn= >20#alert.MaxUserLimit.category=alerts# Error Rate#alert.ErrorRateIncrease.description=ErrorRate Increase#alert.ErrorRateIncrease.statistic=ErrorRate#alert.ErrorRateIncrease.warn= >=800#alert.ErrorRateIncrease.critical= >=1200#alert.ErrorRateIncrease.category=alerts### JAKUB HOLY - MY CONFIGcalculator.minuteRate.classname=net.sourceforge.stat4j.calculators.RunningRate# Period is in [ms] 1000 * 60 = 1 min:calculator.minuteRate.period=300000statistic.RunningErrorRate.description=Errors per minutestatistic.RunningErrorRate.calculator=minuteRate# Regular expression to match "<throwable.toString> <- <original log message>"statistic.RunningErrorRate.first.match=[a-z,:./&()+@ A-Z1-9]*#statistic.RunningErrorRate.first.match=*# Error Ratealert.TooManyErrorsRecently.description=Too many errors in the logalert.TooManyErrorsRecently.statistic=RunningErrorRatealert.TooManyErrorsRecently.warn= >=90alert.TooManyErrorsRecently.critical= >=120alert.TooManyErrorsRecently.category=alerts# Ignore following warnings (or criticals, after the first critical) for the given amount of time:# 1000 * 60 *1 = 1 minalert.TooManyErrorsRecently.quietperiod=600000