Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

A Hubot script to take graph snapshots using Datadog API

License

Notifications You must be signed in to change notification settings

bouzuya/hubot-datadog-graph

Repository files navigation

hubot-datadog-graph

A Hubot script to take graph snapshots using the Datadog API.

Installation

$ npm install https://github.com/bouzuya/hubot-datadog-graph/archive/master.tar.gz

or

$ npm install https://github.com/bouzuya/hubot-datadog-graph/archive/{VERSION}.tar.gz

Example

bouzuya> hubot help datadog-graph
  hubot> hubot datadog graph <graph>[ <range>] - take a graph snapshot using the Datadog API
         hubot datadog graph config - list datadog graphs (queries)
         hubot datadog graph config add <graph> <query> - add datadog graph (query)
         hubot datadog graph config remove <graph> - remove datadog graph (query)

bouzuya> hubot datadog graph config add sushi system.load.1{*}
  hubot> OK
bouzuya> hubot datadog graph config
  hubot> graph1
         graph2
         sushi

bouzuya> hubot datadog graph config remove graph1
  hubot> OK
bouzuya> hubot datadog graph config
  hubot> graph2
         sushi

bouzuya> hubot datadog graph sushi
  hubot> take a graph snapshot (sushi) ...
  hubot> https://s3.amazonaws.com/dd-snapshots-prod/org_1499/2013-07-19/53fd79f024e7796f4ca399f1d90adf3cf95a9bb8.png

Configuration

See src/scripts/datadog-graph.coffee.

Development

See npm run

License

MIT

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

Badges

Build Status Dependencies status Coverage Status

About

A Hubot script to take graph snapshots using Datadog API

Resources

License

Stars

Watchers

Forks

Packages