Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
211 lines (209 sloc) 4.55 KB
{
"applicationName" : "",
"@thresholdsAlertsConfig": {
"@notificationProviders": [
],
"@alertHistoryConfig": {
"maxNumberOfItems": 500,
"toleratedNumberOfItems": 550
}
},
"@accumulatorsConfig": {
"accumulationAmount": 250,
"@accumulatorSets": [
],
"@accumulatorsColors": [
],
"@accumulators": [
{
"name": "ProcessCounter SuccessPerMinute",
"producerName": "ProcessCounter",
"statName": "success",
"valueName": "Counter",
"intervalName": "1m"
},
{
"name": "ProcessCounter ErrorPerMinute",
"producerName": "ProcessCounter",
"statName": "error",
"valueName": "Counter",
"intervalName": "1m"
}
]
},
"@thresholdsConfig": {
"@thresholds": [
{
"name": "ProcessCounter Errors",
"producerName": "ProcessCounter",
"statName": "error",
"valueName": "Counter",
"intervalName": "1m",
//timeUnit can be ignored here
"@guards": [
{
"value": "10",
"direction": "DOWN",
"status": "GREEN"
},
{
"value": "10",
"direction": "UP",
"status": "YELLOW"
},
{
"value": "12",
"direction": "UP",
"status": "ORANGE"
},
{
"value": "15",
"direction": "UP",
"status": "RED"
},
{
"value": "20",
"direction": "UP",
"status": "PURPLE"
}
]
}
]
},
"@dashboardsConfig": {
"@dashboards": [
{
"name": "Process Dashboard",
"refresh": 60,
"@charts": [
{
"caption": "ProcessCounter",
"accumulators": [
"ProcessCounter SuccessPerMinute",
"ProcessCounter ErrorPerMinute"
]
}
],
"@thresholds": [
"ProcessCounter Errors"
],
"@gauges": [
"Proc Errors"
]
}
]
},
"@gaugesConfig": {
"@gauges": [
//this is an example config.
{
"name": "Constant",
"@minValue": {
"constant": 0
},
"@currentValue": {
"constant": 70
},
"@maxValue": {
"constant": 100
},
"@zones": [
{
"color": "green",
"left": 0,
"right": 0.25
},
{
"color": "yellow",
"left": 0.25,
"right": 0.5
},
{
"color": "orange",
"left": 0.5,
"right": 0.75
},
{
"color": "red",
"left": 0.75,
"right": 1
}
]
},
{
"name": "Proc Errors",
"caption": "Process Errors",
"@minValue": {
"constant": 0
},
"@currentValue": {
"producerName": "ProcessCounter",
"statName": "error",
"valueName": "Counter",
"intervalName": "1m"
},
"@maxValue": {
"constant": 50
},
"@zones": [
{
"color": "green",
"left": 0,
"right": 0.5
},
{
"color": "yellow",
"left": 0.5,
"right": 0.75
},
{
"color": "orange",
"left": 0.75,
"right": 0.9
},
{
"color": "red",
"left": 0.9,
"right": 1
}
]
}
],
"@defaultZones": [
{
"color": "orange",
"left": 0.85,
"right": 0.9
},
{
"color": "red",
"left": 0.9,
"right": 1
}
]
},
"@pluginsConfig": {
"@plugins": [
]
},
"@tracingConfig": {
"tracingEnabled": true,
"loggingEnabled": true,
"inspectEnabled": true,
"maxTraces": 50,
"tracers": []
},
"@filterConfig": {
"caseExtractors": [
"net.anotheria.moskito.web.filters.caseextractor.RequestURICaseExtractor",
"net.anotheria.moskito.web.filters.caseextractor.RefererCaseExtractor",
"net.anotheria.moskito.web.filters.caseextractor.MethodCaseExtractor",
"net.anotheria.moskito.web.filters.caseextractor.UserAgentCaseExtractor",
"net.anotheria.moskito.web.filters.caseextractor.DomainCaseExtractor"
]
},
"@tomcatRequestProcessorProducerConfig": {
"ajp": true,
"http": true
}
}