@types/node-statsd
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -37,4 +37,2 @@ // Type definitions for node-statsd 0.1 | ||
* @option {string[]} global_tags Optional tags that will be added to every metric | ||
* @param {StatsDConfig} options | ||
* @constructor | ||
*/ | ||
@@ -70,7 +68,7 @@ constructor(config: StatsDConfig); | ||
* Decrements a stat by a specified amount | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {number} value The value to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -83,7 +81,7 @@ decrement(stat: string | string[], value?: number, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Gauges a stat by a specified amount | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {number} value The value to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -96,7 +94,7 @@ gauge(stat: string | string[], value: number, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Represents the histogram stat | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {any} value The value to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -109,7 +107,7 @@ histogram(stat: string | string[], value: any, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Increments a stat by a specified amount | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {any} value The value to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -122,8 +120,8 @@ increment(stat: string | string[], value?: number, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Sends a stat across the wire | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {any} value The value to send | ||
* @param {string} type The type of message to send to statsd | ||
* @param {number} sampleRate The Number of times to sample (0 to 1) | ||
* @param {string[]} tags The Array of tags to add to metrics | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param type The type of message to send to statsd | ||
* @param sampleRate The Number of times to sample (0 to 1) | ||
* @param tags The Array of tags to add to metrics | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -136,8 +134,8 @@ send(stat: string | string[], value: any, type: string, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Checks if stats is an array and sends all stats calling back once all have sent | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {any} value The value to send | ||
* @param {string} type The type of metric to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param type The type of metric to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -157,7 +155,7 @@ sendAll(stat: string | string[], value: any, type: string, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Represents the timing stat | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {number} time The time in milliseconds to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param time The time in milliseconds to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -170,7 +168,7 @@ timing(stat: string | string[], time: number, sampleRate?: number, tags?: string[], callback?: Callback): void; | ||
* Counts unique values by a specified amount | ||
* @param {string|string[]} stat The stat(s) to send | ||
* @param {any} value The value to send | ||
* @param {number} sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param {string[]} tags The Array of tags to add to metrics. Optional. | ||
* @param {Callback} callback Callback when message is done being delivered. Optional. | ||
* @param stat The stat(s) to send | ||
* @param value The value to send | ||
* @param sampleRate The Number of times to sample (0 to 1). Optional. | ||
* @param tags The Array of tags to add to metrics. Optional. | ||
* @param callback Callback when message is done being delivered. Optional. | ||
*/ | ||
@@ -177,0 +175,0 @@ unique(stat: string | string[], value: any, sampleRate?: number, tags?: string[], callback?: Callback): void; |
{ | ||
"name": "@types/node-statsd", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "TypeScript definitions for node-statsd", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "c4424fca8602a9d6921814f00fd40b4394dcd79365203f96700caf23401b150b", | ||
"typesPublisherContentHash": "8426b3a630e1d97683f81ba8a6cfb1947d223136cb907cf628cfcede2d500f42", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 09 Oct 2017 23:04:08 GMT | ||
* Last updated: Wed, 25 Oct 2017 01:11:51 GMT | ||
* Dependencies: dgram, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10446
152