litespeed: net throughput bytes => bits
lgz committed
Jun 5, 2018 at 11:20 UTC
e78f9236a15d003e0ea8ff5f9dbbbb4f33e4cb57
1 file changed
+6
-6
python.d/litespeed.chart.py
+6
-6
@@ -22,14 +22,14 @@ ORDER = [
22
CHARTS = {
23
'net_throughput_http': {
24
'options': [
25
- None, 'Network Throughput HTTP', 'kilobytes/s', 'net throughput', 'litespeed.net_throughput', 'area'],
25
+ None, 'Network Throughput HTTP', 'kilobits/s', 'net throughput', 'litespeed.net_throughput', 'area'],
26
'lines': [
27
["bps_in", "in", "absolute"],
28
["bps_out", "out", "absolute", -1]
29
]},
30
'net_throughput_https': {
31
'options': [
32
- None, 'Network Throughput HTTPS', 'kilobytes/s', 'net throughput', 'litespeed.net_throughput', 'area'],
32
+ None, 'Network Throughput HTTPS', 'kilobits/s', 'net throughput', 'litespeed.net_throughput', 'area'],
33
'lines': [
34
["ssl_bps_in", "in", "absolute"],
35
["ssl_bps_out", "out", "absolute", -1]
@@ -73,10 +73,10 @@ CHARTS = {
73
t = namedtuple("T", ["key", "id", "mul"])
74
75
T = [
76
- t("BPS_IN", "bps_in", 1),
77
- t("BPS_OUT", "bps_out", 1),
78
- t("SSL_BPS_IN", "ssl_bps_in", 1),
79
- t("SSL_BPS_OUT", "ssl_bps_out", 1),
76
+ t("BPS_IN", "bps_in", 8),
77
+ t("BPS_OUT", "bps_out", 8),
78
+ t("SSL_BPS_IN", "ssl_bps_in", 8),
79
+ t("SSL_BPS_OUT", "ssl_bps_out", 8),
80
t("REQ_PER_SEC", "requests", 100),
81
t("PUB_CACHE_HITS_PER_SEC", "pub_cache_hits", 100),
82
t("PRIVATE_CACHE_HITS_PER_SEC", "private_cache_hits", 100),