Beanstalkd Monitoring

Use This InfluxDB Integration for Free

Beanstalkd is a simple, fast work queueing daemon. Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously. A queue is something that lets you store "jobs" in it and later retrieve them. And some of the key attributes of a queue are the ability to easily store and retrieve items, the ability to never lose a job, and the ability to access the queue from several different languages.

Why use a Telegraf plugin for Beanstalkd?

Beanstalkd measures metrics about the number of requests your application is receiving, as well as the status codes of the responses. Monitoring the total number of requests can help you pinpoint surges in traffic, while monitoring 5xx and 4xx responses is good error detection. The Beanstalkd Telegraf plugin gathers these metrics for ingest into InfluxDB where you can monitor your application and create alerts that trigger when thresholds are exceeded.

How to monitor Beanstalkd queues using the Telegraf plugin

Setting up the Beanstalkd Telegraf Plugin requires that you enter the server information and optionally, the list of tubes to gather stats about. Once this is configured, the Beanstalkd Telegraf plugin will start sending metrics to your InfluxDB instance.

Key Beanstalkd metrics to use for monitoring

Some of the important Beanstalkd metrics that you should proactively monitor include:

Statistical information about the system as a whole

  • cmd_delete
  • cmd_pause_tube
  • current_jobs_buried
  • current_jobs_delayed
  • current_jobs_ready
  • current_jobs_reserved
  • current_jobs_urgent
  • current_using
  • current_waiting
  • current_watching
  • pause
  • pause_time_left
  • Total_jobs

Statistical information about the specified tube

  • binlog_current_index
  • binlog_max_size
  • binlog_oldest_index
  • binlog_records_migrated
  • binlog_records_written
  • cmd_bury
  • cmd_delete
  • cmd_ignore
  • cmd_kick
  • cmd_list_tube_used
  • cmd_list_tubes
  • cmd_list_tubes_watched
  • cmd_pause_tube
  • cmd_peek
  • cmd_peek_buried
  • cmd_peek_delayed
  • cmd_peek_ready
  • cmd_put
  • cmd_release
  • cmd_reserve
  • cmd_reserve_with_timeout
  • cmd_stats
  • cmd_stats_job
  • cmd_stats_tube
  • cmd_touch
  • cmd_use
  • cmd_watch
  • current_connections
  • current_jobs_buried
  • current_jobs_delayed
  • current_jobs_ready
  • current_jobs_reserved
  • current_jobs_urgent
  • current_producers
  • current_tubes
  • current_waiting
  • current_workers
  • job_timeouts
  • max_job_size
  • pid
  • rusage_stime
  • rusage_utime
  • total_connections
  • total_jobs
  • uptime
For more information, please check out the documentation.

Project URL   Documentation

Related resources


The most powerful time series
database as a service

Get Started for Free

Developer Education

Training for time series app developers.

View All Education