Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

138 lines (106 sloc) 4.752 kB
# ==================================================
# Stat4J configuration properties file
# ==================================================
# Log4J category to use for star4j logs
logcategory=stat4j
# Default factory for creating statistics and calculators
factory.name=DefaultFactory
factory.DefaultFactory.classname=au.com.stat4j.config.ResourceBundleStatisticsFactory
factory.DefaultFactory.bundle=au.com.stat4j.stat4j
# Scraper default decimal format
# decimalformat=
# Calculators
calculator.average.classname=au.com.stat4j.calculators.Average
calculator.min.classname=au.com.stat4j.calculators.Minimum
calculator.max.classname=au.com.stat4j.calculators.Maximum
calculator.rate.classname=au.com.stat4j.calculators.Rate
calculator.rate.period=1000
calculator.runningcount.classname=au.com.stat4j.calculators.RunningCount
calculator.maxcount.classname=au.com.stat4j.calculators.MaxCount
calculator.simple.classname=au.com.stat4j.calculators.Simple
calculator.sum.classname=au.com.stat4j.calculators.Sum
# Statistics
# ErrorRate
statistic.ErrorRate.description=Errors per second
statistic.ErrorRate.calculator=rate
statistic.ErrorRate.first.match=.*Exception.*
# User Count
statistic.UserCount.description=Number of users logged onto the system
statistic.UserCount.calculator=runningcount
statistic.UserCount.first.match=.*login.*
statistic.UserCount.second.match=.*.logout.*
# Max User Count
statistic.MaxUserCount.description=Peak number of users logged into the system
statistic.MaxUserCount.calculator=maxcount
statistic.MaxUserCount.first.match=.*login.*
statistic.MaxUserCount.second.match=.*.logout.*
# Average time for method call
statistic.FooDuration.description=Average time for method foo()
statistic.FooDuration.unit=time
statistic.FooDuration.calculator=average
statistic.FooDuration.first.match=.*BEGIN foo().*
statistic.FooDuration.second.match=.*END foo().*
# Max time for method call
statistic.FooMaxDuration.description=Max time for method foo()
statistic.FooMaxDuration.unit=time
statistic.FooMaxDuration.calculator=max
statistic.FooMaxDuration.first.match=.*BEGIN foo().*
statistic.FooMaxDuration.second.match=.*END foo().*
# Average memory for method call
statistic.FooMemory.description=Average change in free memory
statistic.FooMemory.unit=memory
statistic.FooMemory.calculator=average
statistic.FooMemory.first.match=.*BEGIN foo().*
statistic.FooMemory.second.match=.*END foo().*
# Reported time to process post
statistic.TimeToPost.description=Last Time to process post reported by system
statistic.TimeToPost.calculator=simple
statistic.TimeToPost.first.match=.*Time to process post=.*
statistic.TimeToPost.first.scrape=.*post={0}
# Time post logged
statistic.PostTime.description=Post time
statistic.PostTime.unit=time
statistic.PostTime.calculator=simple
statistic.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 post
statistic.MaxTimeToPost.description=Maximum Time to process post reported by system
statistic.MaxTimeToPost.calculator=max
statistic.MaxTimeToPost.first.match=.*Time to process post=.*
statistic.MaxTimeToPost.first.scrape=.*post={0}
# Min reported Time to process post
statistic.MinTimeToPost.description=Minimum time to process post reported by system
statistic.MinTimeToPost.calculator=min
statistic.MinTimeToPost.first.match=.*Time to process post=.*
statistic.MinTimeToPost.first.scrape=.*post={0}
# Avg reported Time to process post
statistic.AvgTimeToPost.description=Average time to process post reported by system
statistic.AvgTimeToPost.calculator=average
statistic.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 duration
statistic.ActualTimeToPost.description=Actual time to process post
statistic.ActualTimeToPost.unit=time
statistic.ActualTimeToPost.threadlocal=true
statistic.ActualTimeToPost.calculator=simple
statistic.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= >=15
alert.ErrorRateIncrease.critical= >=25
alert.ErrorRateIncrease.category=alerts
Jump to Line
Something went wrong with that request. Please try again.