Skip to content

Commit 5bc7615

Browse files
committed
Merge pull request sensu#1097 from rrada/es-graphite_more_stats
ES graphite node - return more metrics
2 parents 9e631cc + fec4ad8 commit 5bc7615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/elasticsearch/es-node-graphite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def run
193193
node['indices'].each do |type, index|
194194
index.each do |k, v|
195195
# #YELLOW
196-
unless k =~ /(_time|memory|size$)/ # rubocop:disable IfUnlessModifier
196+
unless k =~ /(_time$)/ || v =~ /\d+/ # rubocop:disable IfUnlessModifier
197197
metrics["indices.#{type}.#{k}"] = v
198198
end
199199
end

0 commit comments

Comments
 (0)