HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/ruby/vendor_ruby/puppet/face/instrumentation_data.rb
require 'puppet/indirector/face'
require 'puppet/util/instrumentation/data'

Puppet::Indirector::Face.define(:instrumentation_data, '0.0.1') do
  copyright "Puppet Labs", 2011
  license   "Apache 2 license; see COPYING"

  summary "Manage instrumentation listener accumulated data."
  description <<-EOT
    This subcommand allows to retrieve the various listener data.
  EOT

  get_action(:destroy).summary "Invalid for this subcommand."
  get_action(:save).summary "Invalid for this subcommand."
  get_action(:search).summary "Invalid for this subcommand."

  find = get_action(:find)
  find.summary "Retrieve listener data."
  find.render_as = :pson
  find.returns <<-EOT
    The data of an instrumentation listener
  EOT
  find.examples <<-EOT
    Retrieve listener data:

    $ puppet instrumentation_data find performance --terminus rest
  EOT

end