fix issues with incorrect precision in tomcat charts
paulfantom committed
Aug 7, 2016 at 11:31 UTC
618a0c4b0674e7bba84b97db968f88f677f50404
1 file changed
+3
-3
python.d/tomcat.chart.py
+3
-3
@@ -20,12 +20,12 @@ CHARTS = {
20
'accesses': {
21
'options': [None, "tomcat requests", "requests/s", "statistics", "tomcat.accesses", "area"],
22
'lines': [
23
- ["accesses"]
23
+ ["accesses", None, 'incremental']
24
]},
25
'volume': {
26
'options': [None, "tomcat volume", "KB/s", "volume", "tomcat.volume", "area"],
27
'lines': [
28
- ["volume", None, 'incremental']
28
+ ["volume", None, 'incremental', 1, 1024]
29
]},
30
'threads': {
31
'options': [None, "tomcat threads", "current threads", "statistics", "tomcat.threads", "line"],
@@ -36,7 +36,7 @@ CHARTS = {
36
'jvm': {
37
'options': [None, "JVM Free Memory", "MB", "statistics", "tomcat.jvm", "area"],
38
'lines': [
39
- ["jvm", None, "absolute"]
39
+ ["jvm", None, "absolute", 1, 1048576]
40
]}
41
}
42