Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (50 sloc) 1.6 KB
{
"@thresholdsAlertsConfig": {
"@notificationProviders": [
{
"className": "net.anotheria.moskito.core.threshold.alerts.notificationprovider.LogFileNotificationProvider",
"parameter": "MoskitoAlert",
"guardedStatus": "GREEN"
}/*,{
"className": "net.anotheria.moskito.extensions.notificationproviders.MailgunNotificationProvider",
"parameter": "leon@leon-rosenberg.net",
"guardedStatus": "GREEN"
} */
],
"@alertHistoryConfig": {
"maxNumberOfItems": 500,
"toleratedNumberOfItems": 550
}
},
"@thresholdsConfig": {
"@thresholds": [
{
"name": "WorkerLoad",
"producerName": "Worker",
"statName": "doSomeWork",
"valueName": "Req",
"intervalName": "1m",
//timeUnit can be ignored here
"@guards": [
{"value": "30", "direction": "DOWN", "status": "GREEN"},
{"value": "30", "direction": "UP", "status": "YELLOW"},
{"value": "45", "direction": "UP", "status": "ORANGE"},
{"value": "60", "direction": "UP", "status": "RED"},
{"value": "100", "direction": "UP", "status": "PURPLE"}
]
}
]
},
"@accumulatorsConfig" : {
"accumulationAmount": 100,
"@accumulators": [
{
"name": "WorkerLoad",
"producerName": "Worker",
"statName": "doSomeWork",
"valueName": "Req",
"intervalName": "1m"
}
]
}
}