bin/mongodb-graphite-agent.rb in mongodb-graphite-agent-0.0.5 vs bin/mongodb-graphite-agent.rb in mongodb-graphite-agent-0.0.6
- old
+ new
@@ -11,9 +11,10 @@
opt :mongodb_host, "MongoDB host", :type => :string, :default => "localhost"
opt :mongodb_post, "MongoDB host", :type => :int, :default => 27017
opt :mongodb_password, "MongoDB password", :type => :string
opt :graphite_host, "Graphite host", :type => :string
opt :graphite_port, "Graphite port", :type => :string
+ opt :graphite_metrics_prefix, "Graphite metrics prefix", :type => :string, :default => Socket.gethostname
opt :dry_run, "Dry run", :type => :boolean, :default => false
opt :verbose, "Verbose", :type => :boolean, :default => false
end
if opts[:dry_run]