Comparing version 0.4.2 to 0.4.3
{ | ||
"name" : "riemann", | ||
"version" : "0.4.2", | ||
"version" : "0.4.3", | ||
"description" : "node.js client for Riemann, supports hybrid UDP/TCP connections.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -55,2 +55,14 @@ # [Riemann](http://aphyr.github.com/riemann/) Node.js Client | ||
You can also send events with custom attributes: | ||
```js | ||
client.send(client.Event({ | ||
service: 'buffet_plates', | ||
metric: 150, | ||
attributes: [{key: "sessionID", value: "000-001-165"}], | ||
tags: ['nonblocking'] | ||
}), client.tcp); | ||
``` | ||
When you're done monitoring, disconnect: | ||
@@ -57,0 +69,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
14494
11
84