scout_apm_python
scout_apm_python copied to clipboard
Check `ignore` value for legacy configuration
Changes
- Fixes a bug where if the only sampling configuration set was the
ignorevalue, we weren't checking for this in theany_samplingcheck. - Adds a test for this case.
Realized that the changes here are redundant. This has already been supported via this:
self.ignore_endpoints = set(
config.value("ignore_endpoints") + config.value("ignore")
)
So we're removing extra logic, but leaving in the new test.