Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.83 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.83 KB

NOTE: This is unmaintained, unsupported code.

  • It worked the last time we ran it.
  • PRs welcome, but we may not fix issues anytime soon.

aws-couchwatch

Feeds metrics from a CouchDB cluster to AWS CloudWatch.

Install

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.

Usage

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]

License

Apache 2.0

(c) Neighbourhoodie Software.