File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88## [ 3.3.0] 2025-01-07
99### Added
1010- Added support for down-sampling via Scout configuration.
11- - Sample rates can be set globally, for specific jobs/endpoints, or with wildcard selectors.
11+ - Sample rates can be set globally or for specific jobs/endpoints
1212 - Check out our [ documentation] ( https://scoutapm.com/docs/python/configuration#sampling ) for more information and example usage.
1313
1414## [ 3.2.0] 2024-09-12
Original file line number Diff line number Diff line change @@ -160,10 +160,8 @@ def finish(self):
160160 self .end_time = dt .datetime .now (dt .timezone .utc )
161161
162162 if self .is_real_request :
163- if (
164- not self .is_ignored ()
165- and not self .sent
166- and self .get_sampler ().should_sample (self .operation )
163+ if not self .sent and self .get_sampler ().should_sample (
164+ self .operation , self .is_ignored ()
167165 ):
168166 self .tag ("mem_delta" , self ._get_mem_delta ())
169167 self .sent = True
You can’t perform that action at this time.
0 commit comments