Skip to content
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

[Config] Add Disable Send and Context Propagation Only #304

Open
jackshirazi opened this issue Jun 28, 2024 · 2 comments
Open

[Config] Add Disable Send and Context Propagation Only #304

jackshirazi opened this issue Jun 28, 2024 · 2 comments
Assignees

Comments

@jackshirazi
Copy link
Contributor

Classic agent link

What it does

Disable Send sets the agent to making no comms to APM server/collector, but everything else works (including creating transactions etc, eg for log correlation)
Context Propagation Only is the same as Disable Send except that the agent still connects to the APM-server for fetching configuration updates and health checks

Implementation difficulty, location, and dynamism

  • Best done in the exporter (logs, metrics and traces exporters).
  • It can be contributed upstream (but probably not worth it)
  • Can be made dynamic but there is one gotcha, we need the resource bundle in case this is subsequently switched on
@jackshirazi
Copy link
Contributor Author

Note this is done for the non-central config part in #474 ie the agent can now stop all sending dynamically. The central config client needs to support the ability to either stop checking (for the disable_send option) or continue checking (for context_propagation_only option) in the case where sending has been disabled

@AlexanderWert
Copy link
Member

waiting on OpAMP implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants