Socket
Socket
Sign inDemoInstall

dogapi

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dogapi - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

lib/api/service_check.js

5

lib/index.js
var extend = require('extend');
var http_client = require('./http_client.js');
var constants = require('./constants.js');
var alert_api = require('./api/alert.js');

@@ -11,2 +12,3 @@ var dash_api = require('./api/dash.js');

var search_api = require('./api/search.js');
var service_check_api = require('./api/service_check.js');
var snapshot_api = require('./api/snapshot.js');

@@ -28,4 +30,7 @@

search_api.prototype,
service_check_api.prototype,
snapshot_api.prototype);
dogapi.constants = constants;
return module.exports = dogapi;

2

package.json
{
"name": "dogapi",
"version": "0.1.7",
"version": "0.1.8",
"description": "Datadog API Node.JS Client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -52,2 +52,4 @@ node-dogapi

* `dogapi.constants.STATUSES`
* `OK`, `WARNING`, `CRITICAL`, `UNKNOWN`
* `dogapi.stream(start, end, [[filter], callback])`

@@ -125,2 +127,4 @@ * function used to retrieve all events that have occured between

* 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 (see `dogapi.constants.STATUSES`)

@@ -127,0 +131,0 @@ ## Sample Usage:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc