12 13 14 15 16
# File 'lib/promenade/karafka/error_subscriber.rb', line 12 def occurred(event) labels = get_labels(event) Promenade.metric(:karafka_errors).increment(labels) end