-
Notifications
You must be signed in to change notification settings - Fork 528
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
Nodejs agent sending undefined values in context
#1873
Comments
Users will probably expect all headers to show up. I suggest we move to change the JSON and APM Server handling of |
Yeah, the current behaviour is to send everything. 👍 to not restricting the headers object. |
@roncohen the headers are not going to be indexed. Usually we limit the values when they are indexed as keywords. What would be the motivation for limiting the length? When adding checks we would also need to define how to handle other value types (int, objects, ..). |
Ok. Sounds good @Silvia |
Remove checks on Intake API and do not move or parse header fields. fixes elastic#1873
resolved in #1870 |
So far I found that the nodejs agent sends following fields within
context
that have been stored for 6.x documents, but will be removed in 7.0 as of #411:context.request.headers.accept
,context.request.headers.host
According to previous discussions no additional information should have been sent up by the nodejs agent (outside of
context.custom
). @watson and @Qard right now those fields will not be stored any more in 7.0, and they would also be removed from 6.x docs once they are reindexed. If they should be stored, we need to define them on API level.The text was updated successfully, but these errors were encountered: