Sha256: aaa1afcb13ae4ae9252fc4414135ceeb66f9884cf2edaeeff540bee3b960173e
Contents?: true
Size: 675 Bytes
Versions: 38
Compression:
Stored size: 675 Bytes
Contents
require 'puppet/indirector/instrumentation_probe' require 'puppet/indirector/code' require 'puppet/util/instrumentation/indirection_probe' class Puppet::Indirector::InstrumentationProbe::Local < Puppet::Indirector::Code def find(request) end def search(request) probes = [] Puppet::Util::Instrumentation::Instrumentable.each_probe do |probe| probes << Puppet::Util::Instrumentation::IndirectionProbe.new("#{probe.klass}.#{probe.method}") end probes end def save(request) Puppet::Util::Instrumentation::Instrumentable.enable_probes end def destroy(request) Puppet::Util::Instrumentation::Instrumentable.disable_probes end end
Version data entries
38 entries across 38 versions & 3 rubygems