Beanstalk collector
Provides server and tube-level statistics.
Requirements
python-beanstalkc
Server statistics:
Cpu usage in cpu time
- user
- system
Jobs rate in jobs/s
- total
- timeouts
Connections rate in connections/s
- connections
Commands rate in commands/s
- put
- peek
- peek-ready
- peek-delayed
- peek-buried
- reserve
- use
- watch
- ignore
- delete
- release
- bury
- kick
- stats
- stats-job
- stats-tube
- list-tubes
- list-tube-used
- list-tubes-watched
- pause-tube
Current tubes in tubes
- tubes
Current jobs in jobs
- urgent
- ready
- reserved
- delayed
- buried
Current connections in connections
- written
- producers
- workers
- waiting
Binlog in records/s
- written
- migrated
Uptime in seconds
- uptime
Per tube statistics:
Jobs rate in jobs/s
- jobs
Jobs in jobs
- using
- ready
- reserved
- delayed
- buried
Connections in connections
- using
- waiting
- watching
Commands in commands/s
- deletes
- pauses
Pause in seconds
- since
- left
Configuration
Edit the python.d/beanstalk.conf
configuration file using edit-config
from the Netdata config
directory, which is typically at /etc/netdata
.
cd /etc/netdata # Replace this path with your Netdata config directory, if different
sudo ./edit-config python.d/beanstalk.conf
Sample:
host : '127.0.0.1'
port : 11300
If no configuration is given, module will attempt to connect to beanstalkd on 127.0.0.1:11300
address
Troubleshooting
To troubleshoot issues with the beanstalk
module, run the python.d.plugin
with the debug option enabled. The
output will give you the output of the data collection job or error messages on why the collector isn't working.
First, navigate to your plugins directory, usually they are located under /usr/libexec/netdata/plugins.d/
. If that's
not the case on your system, open netdata.conf
and look for the setting plugins directory
. Once you're in the
plugin's directory, switch to the netdata
user.
cd /usr/libexec/netdata/plugins.d/
sudo su -s /bin/bash netdata
Now you can manually run the beanstalk
module in debug mode:
./python.d.plugin beanstalk debug trace
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.