|
@@ -47,6 +47,8 @@ def get_args():
|
|
|
help='Graphite port')
|
|
|
parser.add_argument('--dashing-url',
|
|
|
help='Dashing URL')
|
|
|
+ parser.add_argument('--graphite-whitelist',
|
|
|
+ help='comma-separated list of node-ids to send to Graphite only')
|
|
|
parser.add_argument('--dashing-token',
|
|
|
help='Dashing\'s secret update token')
|
|
|
parser.add_argument('--api-bind-host', default='',
|
|
@@ -116,6 +118,8 @@ def main():
|
|
|
graphite = None
|
|
|
if args.graphite_host is not None:
|
|
|
graphite = GraphitePush(args.graphite_host, args.graphite_port)
|
|
|
+ if args.graphite_whitelist is not None:
|
|
|
+ graphite.whitelist = args.graphite_whitelist.split(',')
|
|
|
|
|
|
if args.no_send:
|
|
|
if graphite is not None:
|