hubot-scripts/hubot-look-at-this-graph

Name: hubot-look-at-this-graph

Owner: Hubot Scripts

Description: Render graphite graphs via Hubot (inspired by nostalgia for GitHub's internal `/graph me` command)

Created: 2016-08-30 15:31:23.0

Updated: 2018-01-16 16:58:10.0

Pushed: 2016-08-30 06:22:20.0

Homepage: null

Size: 140

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Graphite graphs for Hubot (meme version)

Obnoxious fork of https://github.com/rick/hubot-graphme

Renders images like this:

See upstream meme for more information: https://www.youtube.com/watch?v=sIlNIVXpIns

Installation

In your hubot project repo, run:

npm install hubot-look-at-this-graph --save

Then add hubot-look-at-this-graph to your external-scripts.json:


ubot-look-at-this-graph"

Configuration Variables

Example:

rt HUBOT_GRAPHITE_URL=http://graphite.example.com/
rt HUBOT_GRAPHITE_S3_BUCKET=mybucket
rt HUBOT_GRAPHITE_S3_ACCESS_KEY_ID=ABCDEF123456XYZ
rt HUBOT_GRAPHITE_S3_SECRET_ACCESS_KEY=aBcD01234dEaDbEef01234
rt HUBOT_GRAPHITE_S3_PREFIX=graphs
rt HUBOT_GRAPHITE_S3_REGION=us-standard
Sample Interaction
1>> hubot look at this graph -1day vmpooler.usage.avg
t>> http://graphite.example.com/render?target=vmpooler.usage.avg&from=-1day&format=png
All Commands
Running tests
m install
m test

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.