aedes-stats
Advanced tools
Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "aedes-stats", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"description": "stats for aedes", | ||
"main": "stats.js", | ||
"scripts": { | ||
"test": "standard && tape test.js || faucet" | ||
"lint": "standard", | ||
"test": "standard && tape test.js | faucet" | ||
}, | ||
"pre-commit": [ | ||
"lint", | ||
"test" | ||
], | ||
"repository": { | ||
@@ -34,4 +39,5 @@ "type": "git", | ||
"moment": "^2.13.0", | ||
"moving-average": "^0.1.1" | ||
"moving-average": "^0.1.1", | ||
"mqtt": "^2.4.0" | ||
} | ||
} |
# aedes-stats | ||
Stats for Aedes | ||
## Install | ||
``` | ||
npm i aedes aedes-stats --save | ||
``` | ||
## Example | ||
```js | ||
var aedes = require('aedes') | ||
var stats = require('aedes-stats') | ||
var instance = aedes() | ||
stats(aedes) | ||
``` | ||
## Topics and Stats published | ||
* `$SYS/{ID}/uptime` | ||
* `$SYS/{ID}/time` | ||
* `$SYS/{ID}/clients/total` | ||
* `$SYS/{ID}/clients/maximum` | ||
* `$SYS/{ID}/messages/publish/sent` | ||
* `$SYS/{ID}/memory/heap/current` | ||
* `$SYS/{ID}/memory/heap/maximum` | ||
Where `{ID}` is the `aedes` instance id. | ||
## License | ||
MIT |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10031
7
244
0
36
3
2
+ Addedmqtt@^2.4.0
+ Addedasync-limiter@1.0.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbl@1.2.3(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcallback-stream@1.1.0(transitive)
+ Addedcommist@1.1.0(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedd@1.0.2(transitive)
+ Addedduplexify@3.7.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedes5-ext@0.10.64(transitive)
+ Addedes6-iterator@2.0.3(transitive)
+ Addedes6-map@0.1.5(transitive)
+ Addedes6-set@0.1.6(transitive)
+ Addedes6-symbol@3.1.4(transitive)
+ Addedesniff@2.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglob-parent@3.1.0(transitive)
+ Addedglob-stream@6.1.0(transitive)
+ Addedhelp-me@1.1.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@3.1.0(transitive)
+ Addedis-negated-glob@1.0.0(transitive)
+ Addedis-relative@1.0.0(transitive)
+ Addedis-unc-path@1.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedjson-stable-stringify-without-jsonify@1.0.1(transitive)
+ Addedleven@2.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmqtt@2.18.9(transitive)
+ Addedmqtt-packet@5.6.1(transitive)
+ Addednext-tick@1.1.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedordered-read-streams@1.0.1(transitive)
+ Addedpath-dirname@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpump@2.0.13.0.2(transitive)
+ Addedpumpify@1.5.1(transitive)
+ Addedreadable-stream@2.3.83.6.2(transitive)
+ Addedreinterval@1.1.0(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedsplit2@2.2.0(transitive)
+ Addedstream-shift@1.0.3(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedthrough2@2.0.54.0.2(transitive)
+ Addedthrough2-filter@3.1.0(transitive)
+ Addedto-absolute-glob@2.0.2(transitive)
+ Addedtype@2.7.3(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedunc-path-regex@0.1.2(transitive)
+ Addedunique-stream@2.3.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwebsocket-stream@5.2.0(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedws@6.2.3(transitive)
+ Addedxtend@4.0.2(transitive)