]> arthur.barton.de Git - netdata.git/commitdiff
fix issues with incorrect precision in tomcat charts
authorpaulfantom <paulfantom@gmail.com>
Sun, 7 Aug 2016 09:31:05 +0000 (11:31 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sun, 7 Aug 2016 09:31:05 +0000 (11:31 +0200)
python.d/tomcat.chart.py

index 81e2a3b80faafcf1f8744bfbc44c8a08d6375363..266f2737648fac46bedc4d32049ff3125663d254 100644 (file)
@@ -20,12 +20,12 @@ CHARTS = {
     'accesses': {
         'options': [None, "tomcat requests", "requests/s", "statistics", "tomcat.accesses", "area"],
         'lines': [
-            ["accesses"]
+            ["accesses", None, 'incremental']
         ]},
     'volume': {
         'options': [None, "tomcat volume", "KB/s", "volume", "tomcat.volume", "area"],
         'lines': [
-            ["volume", None, 'incremental']
+            ["volume", None, 'incremental', 1, 1024]
         ]},
     'threads': {
         'options': [None, "tomcat threads", "current threads", "statistics", "tomcat.threads", "line"],
@@ -36,7 +36,7 @@ CHARTS = {
     'jvm': {
         'options': [None, "JVM Free Memory", "MB", "statistics", "tomcat.jvm", "area"],
         'lines': [
-            ["jvm", None, "absolute"]
+            ["jvm", None, "absolute", 1, 1048576]
         ]}
 }