@cryptotaxi247 / netdata-1 / commits / d60fb8dd4

beanstalk added to python.d README

lgz committed Nov 3, 2017 at 17:27 UTC d60fb8dd4d31b443cfba2ff0b43c4868164e9b6d
2 files changed +107 -2
python.d/README.md
+106 -1
@@ -125,13 +125,118 @@ If no configuration is given, module will attempt to read log file at `/var/log/
125
126 ---
127
128 +# beanstalk
129 +
130 +Module monitors provides server and tube level statistics:
131 +
132 +**Requirements:**
133 + * `python-beanstalkc`
134 + * `python-yaml`
135 +
136 +**Server statistics:**
137 +
138 +1. **Cpu usage** in cpu time
139 + * user
140 + * system
141 +
142 +2. **Jobs rate** in jobs/s
143 + * total
144 + * timeouts
145 +
146 +3. **Connections rate** in connections/s
147 + * connections
148 +
149 +4. **Commands rate** in commands/s
150 + * put
151 + * peek
152 + * peek-ready
153 + * peek-delayed
154 + * peek-buried
155 + * reserve
156 + * use
157 + * watch
158 + * ignore
159 + * delete
160 + * release
161 + * bury
162 + * kick
163 + * stats
164 + * stats-job
165 + * stats-tube
166 + * list-tubes
167 + * list-tube-used
168 + * list-tubes-watched
169 + * pause-tube
170 +
171 +5. **Current tubes** in tubes
172 + * tubes
173 +
174 +6. **Current jobs** in jobs
175 + * urgent
176 + * ready
177 + * reserved
178 + * delayed
179 + * buried
180 +
181 +7. **Current connections** in connections
182 + * written
183 + * producers
184 + * workers
185 + * waiting
186 +
187 +8. **Binlog** in records/s
188 + * written
189 + * migrated
190 +
191 +9. **Uptime** in seconds
192 + * uptime
193 +
194 +**Per tube statistics:**
195 +
196 +1. **Jobs rate** in jobs/s
197 + * jobs
198 +
199 +2. **Jobs** in jobs
200 + * using
201 + * ready
202 + * reserved
203 + * delayed
204 + * buried
205 +
206 +3. **Connections** in connections
207 + * using
208 + * waiting
209 + * watching
210 +
211 +4. **Commands** in commands/s
212 + * deletes
213 + * pauses
214 +
215 +5. **Pause** in seconds
216 + * since
217 + * left
218 +
219 +
220 +### configuration
221 +
222 +Sample:
223 +
224 +```yaml
225 +host : '127.0.0.1'
226 +port : 11300
227 +```
228 +
229 +If no configuration is given, module will attempt to connect to beanstalkd on `127.0.0.1:11300` address
230 +
231 +---
232 +
233 # bind_rndc
234
235 Module parses bind dump file to collect real-time performance metrics
236
237 **Requirements:**
238 * Version of bind must be 9.6 +
134 - * Netdata must have permissions to run `rndc status`
239 + * Netdata must have permissions to run `rndc stats`
240
241 It produces:
242
python.d/beanstalk.chart.py
+1 -1
@@ -48,7 +48,7 @@ CHARTS = {
48 ]
49 },
50 'commands_rate': {
51 - 'options': [None, 'Commands Rate', 'command/s', 'statistics', 'beanstalk.commands_rate', 'stacked'],
51 + 'options': [None, 'Commands Rate', 'commands/s', 'statistics', 'beanstalk.commands_rate', 'stacked'],
52 'lines': [
53 ['cmd-put', 'put', 'incremental'],
54 ['cmd-peek', 'peek', 'incremental'],