Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10148

Include X-Puppet-Profiling header

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.12.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      Puppet::HTTP::Client can now pass in the 'X-Puppet-Profiler' header when making http requests if Puppet[:profile] is true.
    • QA Risk Assessment:
      Needs Assessment

      Description

      If Puppet[:profile] is true, then Puppet::HTTP::Client should include the X-Puppet-Profiling header in all requests it makes. By default the header should be omitted. See https://github.com/puppetlabs/puppet/blob/069f63c6dcd27ad1d8dfffb94be12bf2219fcfa7/lib/puppet/indirector/rest.rb#L68-L73

      This header is used so that puppetserver can log profiling data for that agent run. See https://github.com/puppetlabs/puppet/blob/master/docs/profiling.md

        Attachments

          Activity

            People

            Assignee:
            melissa Melissa Stone
            Reporter:
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support