Jira (PUP-10148) Include X-Puppet-Profiling header

20 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Nov 18, 2019, 7:51:03 PM11/18/19
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Task PUP-10148
Include X-Puppet-Profiling header
Issue Type: Task Task
Assignee: Unassigned
Created: 2019/11/18 4:50 PM
Priority: Normal Normal
Reporter: Josh Cooper

If Puppet[:profile] is true, then include the X-Puppet-Profiling header in all requests made by the http client. By default the header should be omitted.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Nov 19, 2019, 5:49:04 PM11/19/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
If {{Puppet[:profile]}} is true, then {{Puppet::HTTP::Client}} should include the {{X-Puppet-Profiling}} header in all requests made by the http client it makes . By default the header should be omitted.

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

Josh Cooper (JIRA)

unread,
Nov 19, 2019, 5:51:03 PM11/19/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
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

Melissa Stone (JIRA)

unread,
Nov 19, 2019, 6:00:05 PM11/19/19
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Sprint: Coremunity Hopper

Melissa Stone (JIRA)

unread,
Dec 17, 2019, 5:17:03 PM12/17/19
to puppe...@googlegroups.com
Melissa Stone assigned an issue to Melissa Stone
Change By: Melissa Stone
Assignee: Melissa Stone

Melissa Stone (JIRA)

unread,
Dec 17, 2019, 5:17:04 PM12/17/19
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Sprint: Coremunity Hopper Platform Core KANBAN

Melissa Stone (JIRA)

unread,
Dec 18, 2019, 3:10:04 PM12/18/19
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Fix Version/s: PUP 6.12.0

Melissa Stone (JIRA)

unread,
Dec 18, 2019, 3:12:04 PM12/18/19
to puppe...@googlegroups.com
Melissa Stone updated an issue
Change By: Melissa Stone
Release Notes Summary: Puppet::HTTP::Client can now pass in the 'X-Puppet-Profiler' header when making http requests if Puppet[:profile] is true.
Release Notes: Enhancement

Josh Cooper (JIRA)

unread,
Jan 6, 2020, 5:35:03 PM1/6/20
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jan 7, 2020, 9:05:26 AM1/7/20
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jan 8, 2020, 10:43:03 PM1/8/20
to puppe...@googlegroups.com
Josh Cooper commented on Task PUP-10148
 
Re: Include X-Puppet-Profiling header

Passed CI in 605187329a

Josh Cooper (JIRA)

unread,
Jan 9, 2020, 5:35:05 PM1/9/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Enhancement Not Needed
Reply all
Reply to author
Forward
0 new messages