- It worked the last time we ran it.
- PRs welcome, but we may not fix issues anytime soon.
Feeds metrics from a CouchDB cluster to AWS CloudWatch.
git clone [email protected]:neighbourhoodie/aws-couchwatch.git
cd aws-couchwatch
npm i
npm link
Now you can run aws-couchwatch
to begin posting metrics to AWS CloudWatch, provided you have credentials already specified.
For usage information, run aws-couchwatch -h
.
NOTE: Remember to do aws configure
before using AWS-CouchWatch! Otherwise it will not work.
# set the AWS_REGION env var to your target region
aws-couchwatch
Periodically scan a CouchDB instance and upload the results to AWS CloudWatch.
Commands:
aws-couchwatch start Periodically scan a CouchDB instance and upload the
results to AWS CloudWatch. [default]
aws-couchwatch scan Scan a CouchDB instance once and upload the results to
AWS CloudWatch.
Options:
--help, -h Show help [boolean]
--version Show version number [boolean]
--url, -u URL for the CouchDB cluster to scan. Defaults to the COUCH_URL
environment variable.
[default: "http://admin:password@localhost:5984"]
--scanDb, -s Scan each database in addition to each node. [default: false]
--interval, -i Interval between scanning for metrics in milliseconds.
[default: 60000]
Apache 2.0