UNPKG

nsolid-graphite

Version:

a daemon that sends N|Solid metrics to graphite

50 lines (44 loc) 769 B
'use strict' // POST const execCommands = new Set([ 'ping', 'info', 'metrics', 'async-activity', 'packages', 'profile', 'settings', 'snapshot', 'startup-times', 'custom', 'license-info', 'check-license', 'generate-keypair' ]) // GET const readCommands = new Set([ 'list', 'info', 'metrics', 'application', 'applications', 'asset', 'assets', 'thresholds', 'vulnerabilities', 'settings', 'license-info' ]) const assetCommands = new Set([ 'snapshot', 'profile' ]) // PUT const writeCommands = new Set([ 'thresholds', 'license-info' ]) module.exports.execCommands = execCommands module.exports.readCommands = readCommands module.exports.assetCommands = assetCommands module.exports.writeCommands = writeCommands