From 720e0277800db6bb09e1315f43e959b1f111b15b Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 13 Jan 2015 12:02:24 -0500 Subject: [PATCH] add dogapi.constants.STATUSES to the readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 25dbf58..ce94489 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ DD_API_KEY=YOUR_KEY_HERE DD_APP_KEY=YOUR_KEY_HERE node app.js `dogapi` implements all available functions in the official datadog api, http://docs.datadoghq.com/api/. +* `dogapi.constants.STATUSES` + * `OK`, `WARNING`, `CRITICAL`, `UNKNOWN` * `dogapi.stream(start, end, [[filter], callback])` * function used to retrieve all events that have occured between * `dogapi.polling_stream(interval, [[filter], callback])` @@ -122,7 +124,7 @@ DD_API_KEY=YOUR_KEY_HERE DD_APP_KEY=YOUR_KEY_HERE node app.js * `dogapi.snapshot_status(snapshot_url, [callback])` * method used to check the status of a datadog snapshot * `dogapi.service_check(status, check, host, [[extra], [callback]])` - * method used to post a new service check + * method used to post a new service check (see `dogapi.constants.STATUSES`) ## Sample Usage: