Home

Awesome

Graphite graphs for Hubot

npm version Build Status

Query Graphite graphs.

Installation

In your hubot project repo, run:

npm install hubot-graphme --save

Then add hubot-graphme to your external-scripts.json:

[
  "hubot-graphme"
]

Configuration Variables

Example:

export HUBOT_GRAPHITE_URL=http://graphite.example.com/
export HUBOT_GRAPHITE_S3_BUCKET=mybucket
export HUBOT_GRAPHITE_S3_ACCESS_KEY_ID=ABCDEF123456XYZ
export HUBOT_GRAPHITE_S3_SECRET_ACCESS_KEY=aBcD01234dEaDbEef01234
export HUBOT_GRAPHITE_S3_PREFIX=graphs
export HUBOT_GRAPHITE_S3_REGION=us-standard

Sample Interaction

user1>> hubot graph me -1day vmpooler.usage.avg
hubot>> http://graphite.example.com/render?target=vmpooler.usage.avg&from=-1day&format=png

All Commands

Running tests

% npm install
% npm test