-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the rules sample limiter and default sampling rate configurable (#…
…215) * add limiter test for less-than-one-per-second * add limiter constructor that takes just a rate * configure rules sampler limiter with DD_TRACE_RATE_LIMIT * configure rules sampler limiter with factory (JSON), and include in config banner * test that DD_TRACE_RATE_LIMIT affects TracerOptions::sampling_limit_per_second * remove priority sampling from nginx integration tests * repurpose TracerOptions::sample_rate to be the default fallback rule sampling rate, and allow configuration using DD_TRACE_SAMPLE_RATE * review: change error reporting in parseDouble * review: ready for my close-up, Mr. DeMille * review: test parsing failure of new env variables * NaN nan NaN nan * fix: fallback rule exists only if sample_rate is specified; otherwise, fall back to priority sampling * Revert "remove priority sampling from nginx integration tests" This reverts commit 80d11a7. * fix: wrote the new catch-all rule test incorrectly * remove redundant code, improve readability of integration test output * fix the nginx integration tests per sampling changes * remove debugging artifacts * remove reference to defunct initializer in config test * remove debugging artifact
- Loading branch information
Showing
19 changed files
with
357 additions
and
169 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
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
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
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
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.