|
|
@ -151,10 +151,15 @@ module.exports = { |
|
|
}, |
|
|
}, |
|
|
getHelp: function(){ |
|
|
getHelp: function(){ |
|
|
return [ |
|
|
return [ |
|
|
"Metric Options:", |
|
|
|
|
|
" --tags <tags> a comma separated list of \"tag:value\"'s", |
|
|
|
|
|
" --host <host> the hostname that should be associated with this metric", |
|
|
|
|
|
" --type <type> the type of metric \"gauge\" or \"counter\"" |
|
|
|
|
|
|
|
|
"Metric:", |
|
|
|
|
|
" Commands:", |
|
|
|
|
|
" send <metric> <point> add a new datapoint for <metric> for right now", |
|
|
|
|
|
" query <from> <to> <query> query for <query> between <from> and <to> POSIX timestamps", |
|
|
|
|
|
"", |
|
|
|
|
|
" Options:", |
|
|
|
|
|
" --tags <tags> a comma separated list of \"tag:value\"'s", |
|
|
|
|
|
" --host <host> the hostname that should be associated with this metric", |
|
|
|
|
|
" --type <type> the type of metric \"gauge\" or \"counter\"" |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
handleCli: function(subcommand, args, callback){ |
|
|
handleCli: function(subcommand, args, callback){ |
|
|
|