-
Notifications
You must be signed in to change notification settings - Fork 225
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
feat: impl contextPropagationOnly config var; change disableSend behaviour #2396
Conversation
…viour Implement contextPropagationOnly per spec (it does what disableSend did before this change). Change disableSend to just disable comms with APM server, but otherwise *not* attempt to reduce work. https://github.com/elastic/apm/blob/master/specs/agents/transport.md#context_propagation_only-configuration
@mshustov As mentioned in the issue comment my hope is that if there is a Node.js APM agent release with this PR out before elastic/kibana#112973 and elastic/kibana#102704 go in, that the Kibana issue and pull can be updated to use the config var name The reason for the config var name change is that Is this acceptable to you? (If there is a mix-up and Kibana uses |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. Looks to do the thing it says it does. I see both disableSend
and contextPropagationOnly
will generate a NoOp transport, and contextPropagationOnly
has a few extra guard clauses (replacing the old disableSend
clauses) to prevent needed processing time. Config boiler plate looks to be setup correctly as well.
@trentm sorry for the late response, I was vacationing. The proposed solution makes sense to me. elastic/kibana#112973 and elastic/kibana#102704 aren't going to be released in When are you going to release a client with these changes? |
Either this week, or early next week. I'll ping on those two issues when we have a release with this in it. Thanks! |
@mshustov FYI: elastic-apm-node@3.24.0 is now published which includes this change. |
Implement contextPropagationOnly per spec (it does what disableSend
did before this change). Change disableSend to just disable comms
with APM server, but otherwise not attempt to reduce work.
https://github.com/elastic/apm/blob/master/specs/agents/transport.md#context_propagation_only-configuration
Closes: #2393
Checklist