Browse Source

update some documentation

pull/4/head v0.1.3
Brett Langdon 12 years ago
parent
commit
593781d596
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      README.md
  2. +1
    -1
      lib/api/snapshot.js

+ 2
- 0
README.md View File

@ -115,6 +115,8 @@ DD_API_KEY=YOUR_KEY_HERE DD_APP_KEY=YOUR_KEY_HERE node app.js
* update the tags associated with the given `host` * update the tags associated with the given `host`
* `dogapi.detach_tags(host, [[source], callback])` * `dogapi.detach_tags(host, [[source], callback])`
* method to remove tags for a given `host` * method to remove tags for a given `host`
* `dogapi.add_snapshot(snapshot, [callback])`
* method used to take a snapshot of a datadog graph
## Sample Usage: ## Sample Usage:


+ 1
- 1
lib/api/snapshot.js View File

@ -9,7 +9,7 @@ var snapshot_api = function(){};
snapshot_api.prototype.add_snapshot = function(snapshot, callback){ snapshot_api.prototype.add_snapshot = function(snapshot, callback){
/* /*
* snapshot_api.add_snapshot(snapshot, callback)
* snapshot_api.add_snapshot(snapshot, [callback])
* *
* method used to add a new snapshot to datadog * method used to add a new snapshot to datadog
* *


Loading…
Cancel
Save