| 5827 |
amar.kumar |
1 |
# ==================================================
|
|
|
2 |
# Stat4J configuration properties file
|
|
|
3 |
# ==================================================
|
|
|
4 |
|
|
|
5 |
# Log4J category to use for stat4j logs
|
|
|
6 |
logcategory=stat4j
|
|
|
7 |
|
|
|
8 |
# Default factory for creating statistics and calculators
|
|
|
9 |
factory.name=DefaultFactory
|
|
|
10 |
factory.DefaultFactory.classname=au.com.stat4j.config.ResourceBundleStatisticsFactory
|
|
|
11 |
factory.DefaultFactory.bundle=au.com.stat4j.stat4j
|
|
|
12 |
|
|
|
13 |
# Scraper default decimal format
|
|
|
14 |
# decimalformat=
|
|
|
15 |
|
|
|
16 |
# Calculators
|
|
|
17 |
calculator.average.classname=au.com.stat4j.calculators.Average
|
|
|
18 |
calculator.min.classname=au.com.stat4j.calculators.Minimum
|
|
|
19 |
calculator.max.classname=au.com.stat4j.calculators.Maximum
|
|
|
20 |
calculator.rate.classname=au.com.stat4j.calculators.Rate
|
|
|
21 |
calculator.rate.period=1000
|
|
|
22 |
calculator.runningcount.classname=au.com.stat4j.calculators.RunningCount
|
|
|
23 |
calculator.maxcount.classname=au.com.stat4j.calculators.MaxCount
|
|
|
24 |
calculator.simple.classname=au.com.stat4j.calculators.Simple
|
|
|
25 |
calculator.sum.classname=au.com.stat4j.calculators.Sum
|
|
|
26 |
|
|
|
27 |
# Error Rate
|
|
|
28 |
statistic.ErrorRate.description=Errors per second
|
|
|
29 |
statistic.ErrorRate.calculator=rate
|
|
|
30 |
statistic.ErrorRate.first.match=.*Exception.*
|
|
|
31 |
|
|
|
32 |
# Error Count
|
|
|
33 |
statistic.ErrorCount.description=Number of errors
|
|
|
34 |
statistic.ErrorCount.calculator=count
|
|
|
35 |
statistic.ErrorRate.first.match=.*Exception.*
|
|
|
36 |
|
|
|
37 |
# Info Rate
|
|
|
38 |
statistic.InfoRate.description=Errors per second
|
|
|
39 |
statistic.InfoRate.calculator=rate
|
|
|
40 |
statistic.InfoRate.first.match=INFO.*
|
|
|
41 |
|
|
|
42 |
# Info Count
|
|
|
43 |
statistic.InfoCount.description=Number of errors
|
|
|
44 |
statistic.InfoCount.calculator=count
|
|
|
45 |
statistic.InfoRate.first.match=INFO.*
|
|
|
46 |
|
|
|
47 |
# Debug Rate
|
|
|
48 |
statistic.DebugRate.description=Errors per second
|
|
|
49 |
statistic.DebugRate.calculator=rate
|
|
|
50 |
statistic.DebugRate.first.match=DEBUG.*
|
|
|
51 |
|
|
|
52 |
# Debug Count
|
|
|
53 |
statistic.DebugCount.description=Number of errors
|
|
|
54 |
statistic.DebugCount.calculator=count
|
|
|
55 |
statistic.DebugRate.first.match=DEBUG.*
|
|
|
56 |
|
|
|
57 |
# Alerts
|
|
|
58 |
|
|
|
59 |
# Error Rate
|
|
|
60 |
alert.ErrorRateIncrease.description=ErrorRate Increase
|
|
|
61 |
alert.ErrorRateIncrease.statistic=ErrorRate
|
|
|
62 |
alert.ErrorRateIncrease.warn= >=15
|
|
|
63 |
alert.ErrorRateIncrease.critical= >=25
|
|
|
64 |
alert.ErrorRateIncrease.category=alerts
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|