Skip to content

Commit c7d37e9

Browse files
committed
revert the passthrough check
1 parent a125fdd commit c7d37e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/code/plugin/filter_health_model_builder.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ def filter_stream(tag, es)
216216

217217
# return an empty event stream, else the match will throw a NoMethodError
218218
return []
219-
elsif tag.start_with?("kubehealth.AgentCollectionTime")
219+
elsif tag.start_with?("oms.api.KubeHealth.AgentCollectionTime")
220220
# this filter also acts as a pass through as we are rewriting the tag and emitting to the fluent stream
221221
es
222222
else
223-
raise 'Invalid tag #{tag} received'
223+
raise "Invalid tag #{tag} received"
224224
end
225225

226226
rescue => e

0 commit comments

Comments
 (0)