https://github.com/erans/beanstalkdcloudwatch
Script to update AWS CloudWatch with custom metric from a Beanstalkd work queue (http://kr.github.com/beanstalkd/)
https://github.com/erans/beanstalkdcloudwatch
Last synced: 3 months ago
JSON representation
Script to update AWS CloudWatch with custom metric from a Beanstalkd work queue (http://kr.github.com/beanstalkd/)
- Host: GitHub
- URL: https://github.com/erans/beanstalkdcloudwatch
- Owner: erans
- Created: 2011-10-31T22:25:55.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-31T22:35:14.000Z (over 14 years ago)
- Last Synced: 2024-04-21T12:26:53.539Z (about 2 years ago)
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
beanstalkd_cloudwatch.py - a script to update Beanstalkd stats in AWS CloudWatch
================================================================================
Publish Beanstalkd statistics into AWS CloudWatch as custom metrics.
Usage
=====
Usage: beanstalkd_cloudwatch.py [options]
AWS SQS queue status check command line tool
Options:
-h, --help show this help message and exit
-k AWS_ACCESS_KEY_ID, --aws_access_key_id=AWS_ACCESS_KEY_ID
AWS Access Key ID
-s AWS_SECRET_ACCESS_KEY, --aws_secret_access_key=AWS_SECRET_ACCESS_KEY
AWS Secret Access Key
-H QUEUE_HOST, --queue_host=QUEUE_HOST
Beanstalk Host (default: 127.0.0.1)
-P QUEUE_PORT, --queue_port=QUEUE_PORT
Beanstalk port (default: 11300)
-t TUBE_NAME, --tube_name=TUBE_NAME
Name of tube to check. If empty or missing beanstalk
global stats will be checked
-e TUBE_METRIC, --tube_metric=TUBE_METRIC
Name of tube (or general metric, if tube_name is not
set) metric to check
-n NAMESPACE, --namespace=NAMESPACE
The metric namespace
-m METRIC_NAME, --metric_name=METRIC_NAME
The metric name
-T TEST_MODE, --test_mode=TEST_MODE
Run in test mode
-l LOG, --log=LOG Location of the log file