beanstalk module: change 'statistics' family to 'server statistics'
lgz committed
Nov 5, 2017 at 02:24 UTC
adeb3a89f93050e4d39b45f88d433a3b7d84c6a6
1 file changed
+10
-9
python.d/beanstalk.chart.py
+10
-9
@@ -28,27 +28,27 @@ ORDER = ['cpu_usage', 'jobs_rate', 'connections_rate', 'commands_rate', 'current
28
29
CHARTS = {
30
'cpu_usage': {
31
- 'options': [None, 'Cpu Usage', 'cpu time', 'statistics', 'beanstalk.cpu_usage', 'area'],
31
+ 'options': [None, 'Cpu Usage', 'cpu time', 'server statistics', 'beanstalk.cpu_usage', 'area'],
32
'lines': [
33
['rusage-utime', 'user', 'incremental'],
34
['rusage-stime', 'system', 'incremental']
35
]
36
},
37
'jobs_rate': {
38
- 'options': [None, 'Jobs Rate', 'jobs/s', 'statistics', 'beanstalk.jobs_rate', 'line'],
38
+ 'options': [None, 'Jobs Rate', 'jobs/s', 'server statistics', 'beanstalk.jobs_rate', 'line'],
39
'lines': [
40
['total-jobs', 'total', 'incremental'],
41
['job-timeouts', 'timeouts', 'incremental']
42
]
43
},
44
'connections_rate': {
45
- 'options': [None, 'Connections Rate', 'connections/s', 'statistics', 'beanstalk.connections_rate', 'area'],
45
+ 'options': [None, 'Connections Rate', 'connections/s', 'server statistics', 'beanstalk.connections_rate', 'area'],
46
'lines': [
47
['total-connections', 'connections', 'incremental']
48
]
49
},
50
'commands_rate': {
51
- 'options': [None, 'Commands Rate', 'commands/s', 'statistics', 'beanstalk.commands_rate', 'stacked'],
51
+ 'options': [None, 'Commands Rate', 'commands/s', 'server statistics', 'beanstalk.commands_rate', 'stacked'],
52
'lines': [
53
['cmd-put', 'put', 'incremental'],
54
['cmd-peek', 'peek', 'incremental'],
@@ -73,13 +73,13 @@ CHARTS = {
73
]
74
},
75
'current_tubes': {
76
- 'options': [None, 'Current Tubes', 'tubes', 'statistics', 'beanstalk.current_tubes', 'area'],
76
+ 'options': [None, 'Current Tubes', 'tubes', 'server statistics', 'beanstalk.current_tubes', 'area'],
77
'lines': [
78
['current-tubes', 'tubes']
79
]
80
},
81
'current_jobs': {
82
- 'options': [None, 'Current Jobs', 'jobs', 'statistics', 'beanstalk.current_jobs', 'stacked'],
82
+ 'options': [None, 'Current Jobs', 'jobs', 'server statistics', 'beanstalk.current_jobs', 'stacked'],
83
'lines': [
84
['current-jobs-urgent', 'urgent'],
85
['current-jobs-ready', 'ready'],
@@ -89,7 +89,8 @@ CHARTS = {
89
]
90
},
91
'current_connections': {
92
- 'options': [None, 'Current Connections', 'connections', 'statistics', 'beanstalk.current_connections', 'line'],
92
+ 'options': [None, 'Current Connections', 'connections', 'server statistics',
93
+ 'beanstalk.current_connections', 'line'],
94
'lines': [
95
['current-connections', 'written'],
96
['current-producers', 'producers'],
@@ -98,14 +99,14 @@ CHARTS = {
99
]
100
},
101
'binlog': {
101
- 'options': [None, 'Binlog', 'records/s', 'statistics', 'beanstalk.binlog', 'line'],
102
+ 'options': [None, 'Binlog', 'records/s', 'server statistics', 'beanstalk.binlog', 'line'],
103
'lines': [
104
['binlog-records-written', 'written', 'incremental'],
105
['binlog-records-migrated', 'migrated', 'incremental']
106
]
107
},
108
'uptime': {
108
- 'options': [None, 'Uptime', 'seconds', 'statistics', 'beanstalk.uptime', 'line'],
109
+ 'options': [None, 'Uptime', 'seconds', 'server statistics', 'beanstalk.uptime', 'line'],
110
'lines': [
111
['uptime'],
112
]