Sha256: 1b2b8f3dbb529ad403e84ddd3677eae5414e8b65f2185b51fa454e45cf974b43
Contents?: true
Size: 682 Bytes
Versions: 7
Compression:
Stored size: 682 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true module NewRelic::Agent::Instrumentation module LogStasher::Chain def self.instrument! ::LogStasher.singleton_class.class_eval do include NewRelic::Agent::Instrumentation::LogStasher alias_method(:build_logstash_event_without_new_relic, :build_logstash_event) def build_logstash_event(*args) build_logstash_event_with_new_relic(*args) do build_logstash_event_without_new_relic(*args) end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems