-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add central config support for ELASTIC_APM_CAPTURE_BODY and ELASTIC_APM_TRANSACTION_MAX_SPANS. The initial code for central config contained some hacks specifically around the initially supported config for controlling sampling. The code has been refactored to support additional config attributes. In doing so, we now have a single "instrumentationConfig" object on the Tracer, which gets swapped out atomically when a config change occurs, either via the API or via central config. This has the added benefit of being slightly faster, as we're no longer using RWMutexes, and also neater as we now have a single immutable config object (excluding tracer-internal config).
- Loading branch information
Showing
8 changed files
with
480 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.