{
"applicationName": "",
"intervals": [
"1m",
"5m",
"15m",
"1h",
"12h",
"1d",
"snapshot"
],
"@killSwitch": {
"disableMetricCollection": false,
"disableTracing": false
},
"@thresholdsAlertsConfig": {
"@notificationProviders": [
{
"className": "net.anotheria.moskito.core.threshold.alerts.notificationprovider.LogFileNotificationProvider",
"guardedStatus": "GREEN",
"properties": {
"appenderName": "MoskitoAlert",
"className": "net.anotheria.moskito.core.threshold.alerts.notificationprovider.LogFileNotificationProvider",
"guardedStatus": "GREEN"
}
}
],
"@alertHistoryConfig": {
"maxNumberOfItems": 500,
"toleratedNumberOfItems": 550
},
"dispatcherThreadPoolSize": 0
},
"@thresholdsConfig": {
"thresholds": [
{
"name": "ThreadCount",
"producerName": "ThreadCount",
"statName": "ThreadCount",
"valueName": "Current",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"guards": [
{
"value": "200",
"direction": "DOWN",
"status": "GREEN"
},
{
"value": "200",
"direction": "UP",
"status": "YELLOW"
},
{
"value": "300",
"direction": "UP",
"status": "ORANGE"
},
{
"value": "500",
"direction": "UP",
"status": "RED"
},
{
"value": "1000",
"direction": "UP",
"status": "PURPLE"
}
]
},
{
"name": "OldGenFree",
"producerName": "MemoryPool-PS Old Gen-Heap",
"statName": "MemoryPool-PS Old Gen-Heap",
"valueName": "Free",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"guards": [
{
"value": "100000000",
"direction": "UP",
"status": "GREEN"
},
{
"value": "50000000",
"direction": "DOWN",
"status": "YELLOW"
},
{
"value": "10000000",
"direction": "DOWN",
"status": "ORANGE"
},
{
"value": "2000000",
"direction": "DOWN",
"status": "RED"
},
{
"value": "1000000",
"direction": "DOWN",
"status": "PURPLE"
}
]
},
{
"name": "PermGenFree",
"producerName": "MemoryPool-PS Perm Gen-NonHeap",
"statName": "MemoryPool-PS Perm Gen-NonHeap",
"valueName": "Free",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"guards": [
{
"value": "5000000",
"direction": "UP",
"status": "GREEN"
},
{
"value": "5000000",
"direction": "DOWN",
"status": "YELLOW"
},
{
"value": "2000000",
"direction": "DOWN",
"status": "ORANGE"
},
{
"value": "1000000",
"direction": "DOWN",
"status": "RED"
},
{
"value": "1000",
"direction": "DOWN",
"status": "PURPLE"
}
]
},
{
"name": "SystemCPULoad",
"producerName": "OS",
"statName": "OS",
"valueName": "SystemCPULoad",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"guards": [
{
"value": "50.0",
"direction": "DOWN",
"status": "GREEN"
},
{
"value": "50.0",
"direction": "UP",
"status": "YELLOW"
},
{
"value": "75.0",
"direction": "UP",
"status": "ORANGE"
},
{
"value": "90.0",
"direction": "UP",
"status": "RED"
},
{
"value": "99.0",
"direction": "UP",
"status": "PURPLE"
}
]
},
{
"name": "ProcessCPULoad",
"producerName": "OS",
"statName": "OS",
"valueName": "ProcessCPULoad",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"guards": [
{
"value": "50.0",
"direction": "DOWN",
"status": "GREEN"
},
{
"value": "50.0",
"direction": "UP",
"status": "YELLOW"
},
{
"value": "75.0",
"direction": "UP",
"status": "ORANGE"
},
{
"value": "90.0",
"direction": "UP",
"status": "RED"
},
{
"value": "99.0",
"direction": "UP",
"status": "PURPLE"
}
]
}
]
},
"@gaugesConfig": {
"@gauges": [
{
"name": "Constant",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 70
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 100
},
"@zones": [
{
"color": "green",
"left": 0.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.0
}
]
},
{
"name": "Sessions",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "SessionCount",
"statName": "Sessions",
"valueName": "cur",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"producerName": "SessionCount",
"statName": "Sessions",
"valueName": "max",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
}
},
{
"name": "Memory",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "Heap memory",
"statName": "Heap memory",
"valueName": "Used Mb",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"producerName": "JavaRuntimeMax",
"statName": "JavaRuntimeMax",
"valueName": "Current Mb",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"caption": "Used memory"
},
{
"name": "Blocked",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "ThreadStates",
"statName": "BLOCKED",
"valueName": "Current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"producerName": "ThreadCount",
"statName": "ThreadCount",
"valueName": "current",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"caption": "Blocked Threads"
},
{
"name": "Running",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "ThreadStates",
"statName": "RUNNABLE",
"valueName": "Current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"producerName": "ThreadCount",
"statName": "ThreadCount",
"valueName": "current",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"caption": "Running Threads"
},
{
"name": "SysLoad",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "OS",
"statName": "OS",
"valueName": "systemcpuload",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 100
},
"caption": "System CPU Load",
"@zones": [
{
"color": "green",
"left": 0.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.0
}
]
},
{
"name": "ProcLoad",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"producerName": "OS",
"statName": "OS",
"valueName": "processcpuload",
"intervalName": "default",
"timeUnit": "MILLISECONDS"
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 100
},
"caption": "Process CPU Load",
"@zones": [
{
"color": "green",
"left": 0.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.0
}
]
},
{
"name": "STAT REQ",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 5472
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 5531
},
"caption": "Statistic request"
},
{
"name": "STAT TIME",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 700848439
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 717081763
},
"caption": "Statistic time"
},
{
"name": "STAT ERR",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 10
},
"caption": "Statistic errors"
},
{
"name": "STAT CR",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 6
},
"caption": "Statistic current requests"
},
{
"name": "STAT ERATE",
"@minValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@currentValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 0
},
"@maxValue": {
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"constant": 100
},
"caption": "Statistic error rate percent"
}
],
"@defaultZones": [
{
"color": "orange",
"left": 0.85,
"right": 0.9
},
{
"color": "red",
"left": 0.9,
"right": 1.0
}
]
},
"@dashboardsConfig": {
"@dashboards": [
{
"name": "Example Dashboard",
"refresh": 60,
"charts": [
{
"caption": "Memory",
"accumulators": [
"Mem OldGenFree MB 1m",
"Mem OldGenUsed MB 1m"
]
},
{
"caption": "Threads",
"accumulators": [
"ThreadCount",
"ThreadStateBlocked-1m",
"ThreadStateRunnable-1m",
"ThreadStateTimedWaiting-1m",
"ThreadStateWaiting-1m"
]
},
{
"accumulators": [
"URL REQ 1m"
]
},
{
"accumulators": [
"URL Time 1m"
]
},
{
"accumulators": [
"URL AVG 1m"
]
},
{
"accumulators": [
"SessionCount Cur Absolute"
]
},
{
"accumulators": [
"CPU Time 1m"
]
},
{
"caption": "Load",
"accumulators": [
"Process CPU Load 1m",
"System CPU Load 1m"
]
},
{
"caption": "Errors",
"accumulators": [
"Errors.Cumulated.Initial",
"Errors.Cumulated.Total"
]
}
],
"thresholds": [
"SystemCPULoad",
"ProcessCPULoad",
"ThreadCount",
"OldGenFree",
"PermGenFree"
],
"gauges": [
"Blocked",
"Memory",
"Running",
"SysLoad"
],
"widgets": [
"thresholds",
"gauges",
"charts",
"producers"
]
},
{
"name": "Memory",
"refresh": 60,
"charts": [
{
"caption": "GC Current Count",
"accumulators": [
"GC PS MarkSweep collection count 1m",
"GC PS Scavenge collection count 1m"
]
},
{
"caption": "GC Current Time",
"accumulators": [
"GC PS MarkSweep collection time 1m",
"GC PS Scavenge collection time 1m"
]
},
{
"caption": "GC Total Count",
"accumulators": [
"GC PS MarkSweep total collection count",
"GC PS Scavenge total collection count"
]
},
{
"caption": "GC Total Time",
"accumulators": [
"GC PS MarkSweep total collection time",
"GC PS Scavenge total collection time"
]
},
{
"caption": "Memory",
"accumulators": [
"Mem OldGenFree MB 1m",
"Mem OldGenUsed MB 1m"
]
}
],
"producers": [
"JavaRuntimeFree",
"JavaRuntimeTotal"
],
"widgets": [
"thresholds",
"gauges",
"charts",
"producers"
]
},
{
"name": "Empty Dashboard",
"refresh": 60,
"widgets": [
"thresholds",
"gauges",
"charts",
"producers"
]
},
{
"name": "Statistics",
"refresh": 60,
"charts": [
{
"caption": "Statistics REQ 1m",
"accumulators": [
"Statistics.REQ.1m"
]
},
{
"caption": "Statistics TIME 1m",
"accumulators": [
"Statistics.TIME.1m"
]
},
{
"caption": "Statistics ERR 1m",
"accumulators": [
"Statistics.ERR.1m"
]
},
{
"caption": "Statistics CR 1m",
"accumulators": [
"Statistics.CR.1m"
]
},
{
"caption": "Statistics MCR 1m",
"accumulators": [
"Statistics.MCR.1m"
]
},
{
"caption": "Statistics MAX 1m",
"accumulators": [
"Statistics.MAX.1m"
]
},
{
"caption": "Statistics AVG 1m",
"accumulators": [
"Statistics.AVG.1m"
]
},
{
"caption": "Statistics ERATE 1m",
"accumulators": [
"Statistics.ERATE.1m"
]
}
],
"gauges": [
"STAT REQ",
"STAT ERR",
"STAT CR",
"STAT ERATE"
],
"producers": [
"ServiceStatistics"
],
"widgets": [
"thresholds",
"gauges",
"charts",
"producers"
]
}
]
},
"@loadFactorsConfig": {
"@factors": []
},
"@accumulatorsConfig": {
"accumulationAmount": 250,
"@accumulators": [
{
"name": "System CPU Load 1m",
"producerName": "OS",
"statName": "OS",
"valueName": "systemcpuload",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "Process CPU Load 1m",
"producerName": "OS",
"statName": "OS",
"valueName": "processcpuload",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadCount",
"producerName": "ThreadCount",
"statName": "ThreadCount",
"valueName": "current",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateRunnable-1m",
"producerName": "ThreadStates",
"statName": "RUNNABLE",
"valueName": "current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateWaiting-1m",
"producerName": "ThreadStates",
"statName": "TIMED_WAITING",
"valueName": "current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateTimedWaiting-1m",
"producerName": "ThreadStates",
"statName": "WAITING",
"valueName": "current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateBlocked-1m",
"producerName": "ThreadStates",
"statName": "BLOCKED",
"valueName": "current",
"intervalName": "1m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateRunnable-5m",
"producerName": "ThreadStates",
"statName": "RUNNABLE",
"valueName": "current",
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateWaiting-5m",
"producerName": "ThreadStates",
"statName": "TIMED_WAITING",
"valueName": "current",
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateTimedWaiting-5m",
"producerName": "ThreadStates",
"statName": "WAITING",
"valueName": "current",
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
},
{
"name": "ThreadStateBlocked-5m",
"producerName": "ThreadStates",
"statName": "BLOCKED",
"valueName": "current",
"intervalName": "5m",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
}
],
"@accumulatorSets": [
{
"name": "Threads 1 Minute",
"accumulatorNames": [
"ThreadCount",
"ThreadStateBlocked-1m",
"ThreadStateRunnable-1m",
"ThreadStateTimedWaiting-1m",
"ThreadStateWaiting-1m"
],
"mode": "COMBINED"
},
{
"name": "Threads 5 Minutes",
"accumulatorNames": [
"ThreadCount",
"ThreadStateBlocked-5m",
"ThreadStateRunnable-5m",
"ThreadStateTimedWaiting-5m",
"ThreadStateWaiting-5m"
],
"mode": "COMBINED"
},
{
"name": "Web 1 Minute",
"accumulatorNames": [
"SessionCount Cur Absolute",
"URL AVG 1m",
"URL REQ 1m",
"URL Time 1m"
],
"mode": "MULTIPLE"
},
{
"name": "Web 5 Minutes",
"accumulatorNames": [
"SessionCount Cur Absolute",
"URL AVG 5m",
"URL REQ 5m",
"URL Time 5m"
],
"mode": "MULTIPLE"
},
{
"name": "Web 1 Hour",
"accumulatorNames": [
"SessionCount Cur Absolute",
"URL AVG 1h",
"URL REQ 1h",
"URL Time 1h"
],
"mode": "MULTIPLE"
},
{
"name": "GC 1 minute",
"accumulatorNames": [
"GC G1 Young Generation collection count 1m",
"GC G1 Young Generation collection time 1m",
"GC G1 Concurrent GC collection count 1m",
"GC G1 Concurrent GC collection time 1m",
"GC G1 Old Generation collection count 1m",
"GC G1 Old Generation collection time 1m"
],
"mode": "MULTIPLE"
},
{
"name": "Tomcat 1 minute",
"accumulatorNames": [
"http-nio-8000 request count 1m",
"http-nio-8000 bytes sent 1m",
"http-nio-8000 bytes received 1m",
"http-nio-8000 processing time 1m",
"http-nio-8000 error count 1m",
"ajp-nio-127.0.0.1-8009 request count 1m",
"ajp-nio-127.0.0.1-8009 bytes sent 1m",
"ajp-nio-127.0.0.1-8009 bytes received 1m",
"ajp-nio-127.0.0.1-8009 processing time 1m",
"ajp-nio-127.0.0.1-8009 error count 1m"
],
"mode": "MULTIPLE"
}
],
"@autoAccumulators": [
{
"namePattern": "$PRODUCERNAME.$STATNAME.REQ.default",
"producerNamePattern": "FrontendApplicationInitialization",
"statName": "DriveMy",
"valueName": "Req",
"intervalName": "default",
"timeUnit": "MILLISECONDS",
"accumulationAmount": 0
}
],
"accumulatorsColors": [
{
"name": "CPU Time 1h",
"color": "#FF0000"
},
{
"name": "CPU Time 1m",
"color": "#00FF00"
},
{
"name": "CPU Time 5m",
"color": "#0000FF"
}
]
},
"@pluginsConfig": {
"plugins": [
{
"name": "NoOpPlugin",
"className": "net.anotheria.moskito.core.plugins.NoOpPlugin",
"configurationName": "none"
},
{
"name": "DiskSpaceMonitoringPlugin",
"className": "net.anotheria.moskito.extensions.DiskSpaceMonitoringPlugin",
"configurationName": "none"
},
{
"name": "ApacheMonitoringPlugin",
"className": "net.anotheria.moskito.extensions.monitoring.GenericMonitoringPlugin",
"configurationName": "monitoring-plugin-apache"
},
{
"name": "NginxMonitoringPlugin",
"className": "net.anotheria.moskito.extensions.monitoring.GenericMonitoringPlugin",
"configurationName": "monitoring-plugin-nginx"
},
{
"name": "MoskitoPHPPlugin",
"className": "net.anotheria.extensions.php.MoskitoPHPPlugin",
"configurationName": "moskito-php"
}
]
},
"@mbeanProducersConfig": {
"registerAutomatically": false,
"updateAutomatically": true,
"delayBeforeFirstUpdate": 15000
},
"@builtinProducersConfig": {
"javaMemoryProducers": true,
"javaMemoryPoolProducers": true,
"javaThreadingProducers": true,
"osProducer": true,
"runtimeProducer": true,
"mbeanProducers": true,
"gcProducer": true,
"errorProducer": true,
"requestStatisticProducer": true
},
"@tomcatRequestProcessorProducerConfig": {
"ajp": true,
"http": true
},
"@tracingConfig": {
"tracingEnabled": true,
"loggingEnabled": true,
"inspectEnabled": true,
"maxTraces": 50,
"tracers": [],
"shrinkingStrategy": "KEEPLONGEST"
},
"@journeyConfig": {
"parameterLengthLimit": 100,
"toStringCollections": true,
"toStringMaps": true,
"exclusionURLs": [],
"exclusionURLPrefixes": [],
"exclusionURLSuffixes": []
},
"@errorHandlingConfig": {
"autoChartErrors": true,
"autoChartErrorsInterval": "1m",
"logErrors": false,
"@catchers": [],
"@defaultCatchers": [],
"catchersMemoryErrorLimit": 50,
"countRethrows": false
},
"@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"
]
},
"@taggingConfig": {
"autotagSessionId": true,
"autotagIp": true,
"autotagUserAgent": true,
"autotagReferer": true,
"autotagUrl": true,
"autotagServerName": true,
"@customTags": [],
"tagHistorySize": 10
}
}