Gathering detailed insights and metrics for node-resque-stats
Gathering detailed insights and metrics for node-resque-stats
Gathering detailed insights and metrics for node-resque-stats
Gathering detailed insights and metrics for node-resque-stats
npm install node-resque-stats
Typescript
Module System
Node Version
NPM Version
Lua (56.25%)
JavaScript (43.75%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
15 Commits
1 Forks
1 Watchers
1 Branches
2 Contributors
Updated on Sep 15, 2016
Latest Version
1.2.3
Package Id
node-resque-stats@1.2.3
Size
5.74 kB
NPM Version
3.8.7
Node Version
5.3.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This is a node module that can be used to get statistical information about your resque instance. It gives you realtime information about your resque queues and workers by querying redis via a lua script.
1var stats = require('node-resque-stats') 2 3stats(function (err, stats) { 4 console.log(stats) 5})
1{ failing: 5944, 2 queues: 3 { thumbnails: { working: 0, pending: 0 } 4 squeegee: { working: 0, pending: 1 }, 5 email: { working: 0, pending: 0 } }, 6 working: 2, 7 workers: 8 [ 'ip-10-158-39-207:32251+1:squeegee,thumbnails,email', 9 'ip-10-158-39-207:32251+2:squeegee,thumbnails,email', 10 'ip-10-29-24-24:5373+1:squeegee,thumbnails,email', 11 'ip-10-29-24-24:5373+2:squeegee,thumbnails,email' ], 12 processing: 13 { 'ip-10-158-39-207:32251+2': 14 { run_at: 'Sat Feb 07 2015 02:59:51 GMT+0000 (UTC)', 15 worker: 'ip-10-158-39-207:32251+2', 16 payload: [Object], 17 queue: 'squeegee' }, 18 'ip-10-158-39-207:32251+1': 19 { run_at: 'Sat Feb 07 2015 02:59:51 GMT+0000 (UTC)', 20 worker: 'ip-10-158-39-207:32251+1', 21 payload: [Object], 22 queue: 'squeegee' } }, 23 squeegee: { working: 2, pending: 0 }, 24 failed: '403435', 25 processed: '36896513' } 26
resque-stats -h <redis-host> -p <redis-port> -a <redis-password> -n <namespace>
All arguments are optional.
To install the library, with npm do:
$ npm install resque-statistics
and to install the command do:
$ npm install -g node-resque-stats
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More