bin/metrics-marathon.rb in sensu-plugins-mesos-2.1.1 vs bin/metrics-marathon.rb in sensu-plugins-mesos-2.1.2
- old
+ new
@@ -32,10 +32,10 @@
require 'rest-client'
require 'socket'
require 'json'
class MarathonMetrics < Sensu::Plugin::Metric::CLI::Graphite
- SKIP_ROOT_KEYS = %w(version).freeze
+ SKIP_ROOT_KEYS = %w(version start end).freeze
option :scheme,
description: 'Metric naming scheme',
short: '-s SCHEME',
long: '--scheme SCHEME',
default: "#{Socket.gethostname}.marathon"