apache python module: convert kilobytes to kilobits for bandwidth dimensions
Ilya committed
Sep 26, 2017 at 14:56 UTC
98f72b571f9502e09728248abc7d2943e4878003
1 file changed
+4
-4
python.d/apache.chart.py
+4
-4
@@ -42,10 +42,10 @@ CHARTS = {
42
["requests_sec"]
43
]},
44
'bytespersec': {
45
- 'options': [None, 'apache Lifetime Avg. Bandwidth/s', 'kilobytes/s', 'statistics',
45
+ 'options': [None, 'apache Lifetime Avg. Bandwidth/s', 'kilobits/s', 'statistics',
46
'apache.bytesperreq', 'area'],
47
'lines': [
48
- ["size_sec", None, 'absolute', 1, 1000]
48
+ ["size_sec", None, 'absolute', 8, 1000]
49
]},
50
'requests': {
51
'options': [None, 'apache Requests', 'requests/s', 'requests', 'apache.requests', 'line'],
@@ -53,9 +53,9 @@ CHARTS = {
53
["requests", None, 'incremental']
54
]},
55
'net': {
56
- 'options': [None, 'apache Bandwidth', 'kilobytes/s', 'bandwidth', 'apache.net', 'area'],
56
+ 'options': [None, 'apache Bandwidth', 'kilobits/s', 'bandwidth', 'apache.net', 'area'],
57
'lines': [
58
- ["sent", None, 'incremental']
58
+ ["sent", None, 'incremental', 8, 1]
59
]},
60
'connections': {
61
'options': [None, 'apache Connections', 'connections', 'connections', 'apache.connections', 'line'],