Add new config options: enabled + recording #1271
Labels
agent-nodejs
Make available for APM Agents project planning.
agent-spec
Related to a cross agent functionality spec.
enhancement
kibana
To align with the other agents and to provide greater flexibility, we're introducing two new config options:
enabled
andrecording
, while deprecatingactive
.Here's the expected behavior as described in elastic/apm#92 (comment):
enabled
- Should behave identically toactive
, which in turn should be deprecated (this is essentially a rename to get a more meaningful name)recording
- Should default totrue
. Setting tofalse
will completely disable the recording and sending of data (transactions, spans, errors, and metrics). It must be possible to togglerecording
dynamically, either locally or via remote config. Settingrecording
tofalse
will therefore not disable remote config polling, config file watching, etc.The text was updated successfully, but these errors were encountered: