Blame | Last modification | View Log | RSS feed
# ==================================================# Stat4J configuration properties file# ==================================================# Statistics# ErrorRatestatistic.ErrorRate.description=Errors per secondstatistic.ErrorRate.calculator=ratestatistic.ErrorRate.first.match=.*Exception.*# User Countstatistic.UserCount.description=Number of users logged onto the systemstatistic.UserCount.calculator=runningcountstatistic.UserCount.first.match=.*login.*statistic.UserCount.second.match=.*.logout.*# Max User Countstatistic.MaxUserCount.description=Peak number of users logged into the systemstatistic.MaxUserCount.calculator=maxcountstatistic.MaxUserCount.first.match=.*login.*statistic.MaxUserCount.second.match=.*.logout.*# Average time for method callstatistic.FooDuration.description=Average time for method foo()statistic.FooDuration.unit=timestatistic.FooDuration.calculator=averagestatistic.FooDuration.first.match=.*BEGIN foo().*statistic.FooDuration.second.match=.*END foo().*# Max time for method callstatistic.FooMaxDuration.description=Max time for method foo()statistic.FooMaxDuration.unit=timestatistic.FooMaxDuration.calculator=maxstatistic.FooMaxDuration.first.match=.*BEGIN foo().*statistic.FooMaxDuration.second.match=.*END foo().*# Average memory for method callstatistic.FooMemory.description=Average change in free memorystatistic.FooMemory.unit=memorystatistic.FooMemory.calculator=averagestatistic.FooMemory.first.match=.*BEGIN foo().*statistic.FooMemory.second.match=.*END foo().*# 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 loggedstatistic.PostFreeMem.description=Post memorystatistic.PostFreeMem.unit=memorystatistic.PostFreeMem.calculator=simplestatistic.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 reachedalert.MaxUserLimit.description=Maximum Number of users reachedalert.MaxUserLimit.statistic=UserCountalert.MaxUserLimit.warn= >20alert.MaxUserLimit.category=alerts# Error Ratealert.ErrorRateIncrease.description=ErrorRate Increasealert.ErrorRateIncrease.statistic=ErrorRatealert.ErrorRateIncrease.warn= >=15alert.ErrorRateIncrease.critical= >=25alert.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=60000statistic.RunningErrorRate.description=Errors per minutestatistic.RunningErrorRate.calculator=minuteRate# Regular expression to match "<throwable.toString> <- <original log message>"statistic.RunningErrorRate.first.match=.*Exception.*# Error Ratealert.TooManyErrorsRecently.description=Too many errors in the logalert.TooManyErrorsRecently.statistic=RunningErrorRatealert.TooManyErrorsRecently.warn= >=3alert.TooManyErrorsRecently.critical= >=10alert.TooManyErrorsRecently.category=alerts# Ignore following warnings (or criticals, after the first critical) for the given amount of time:# 1000 * 60 *10 = 10 minalert.TooManyErrorsRecently.quietperiod=600000