You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recurring difficulty in evolving Agent's control protocol, e.g. in issues like #2460, is that there is no definitive specification for Agent's behavior when interacting with a component. Current clients rely on heuristics and convention that have evolved through the interactions of several repositories. While this works in the ideal case, error conditions and unusual environments can produce unexpected behavior that is hard to troubleshoot or even detect. It is also an obstacle to creating new clients, since Beats (the biggest current Agent client) makes several unusual implementation choices to adapt its legacy codebase to run under Agent, and thus makes a poor model for new work to imitate.
This issue is to create a testing/debugging component that will run under Agent, and will allow simulation and logging of control protocol interactions with a variety of error states. For example, it should be straightforward to inject delays in the RPC responses, trigger error states in active units, or send checkin data with outdated config indices. It should also provide simple hooks to create custom scenarios.
The main uses of this tool are expected to be:
Enable Agent's control protocol to evolve towards a more definitive specification while preserving interoperability with past versions
Give Agent engineers a straightforward way to simulate unusual conditions encountered "in the wild" when investigating support cases or reported issues
Enable automated testing over a wider range of error conditions
The text was updated successfully, but these errors were encountered:
A recurring difficulty in evolving Agent's control protocol, e.g. in issues like #2460, is that there is no definitive specification for Agent's behavior when interacting with a component. Current clients rely on heuristics and convention that have evolved through the interactions of several repositories. While this works in the ideal case, error conditions and unusual environments can produce unexpected behavior that is hard to troubleshoot or even detect. It is also an obstacle to creating new clients, since Beats (the biggest current Agent client) makes several unusual implementation choices to adapt its legacy codebase to run under Agent, and thus makes a poor model for new work to imitate.
This issue is to create a testing/debugging component that will run under Agent, and will allow simulation and logging of control protocol interactions with a variety of error states. For example, it should be straightforward to inject delays in the RPC responses, trigger error states in active units, or send checkin data with outdated config indices. It should also provide simple hooks to create custom scenarios.
The main uses of this tool are expected to be:
The text was updated successfully, but these errors were encountered: