-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include HTTP headers with all Transactions #1029
Comments
Hello @jamesarosen |
Hi @jamesarosen thanks for the suggestion. We try and maintain feature parity with our agents and several agents have implemented support for capturing HTTP headers. We will add this to our backlog. |
Let's size this story and then assess next steps. |
Link to ticket where we worked on logging HTTP headers: #1839 |
A new 'allow_all_headers' configuration parameter has been added to bring parity with the Node.js agent and others. This configuration parameter defaults to a value of `false`. When set to `true` and as long as the agent is not operating in high security mode, all HTTP headers gleaned from a request will be captured and relayed to New Relic instead of the default core set of headers. All existing behavior for `.*attributes.include` and `.*attributes.exclude` configuration parameters will be respected for any desired filtration of the headers when `allow_all_headers` is enabled. This work was done in response to a feature request submitted by community member [@jamesarosen](https://github.com/jamesarosen). Thank you very much, @jamesarosen! resolves #1029
Hi @jamesarosen, thanks again for suggesting this feature! The PR to introduce a new |
Nice work, team 👏 |
Version 9.4.0 of the agent is now available from RubyGems.org. |
Is your feature request related to a problem? Please describe.
Yes? The Ruby agent lacks features that the JS agent has, so we're missing data.
Feature Description
The Node JS agent supports sending all HTTP headers via the
allow_all_headers
flag. This results in attributes likerequest.headers.accept
showing up as attributes on all Transactions. See New Relic Data Dictionary for more on those attributes.Describe Alternatives
We can add each header as a custom attribute. This works fine, but it's a fair bit of extra code we have to maintain.
Priority
Really Want
T-Shirt size
The text was updated successfully, but these errors were encountered: