Skip to content

Commit

Permalink
ignore start/end keys in marathon metrics endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bergerx authored and majormoses committed Dec 6, 2017
1 parent b4afd1c commit ea5f356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)

## [Unreleased]
### Fixed
- metrics-marathon.rb: ignore 2 new keys (start, end) in Marathon 1.5 /metrics endpoint

## [2.2.1] - 2017-11-04
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion bin/metrics-marathon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
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',
Expand Down

0 comments on commit ea5f356

Please sign in to comment.