Introduced a bug fix for calculating the data_capture for sampling=custom.
data_capture
sampling=custom
assigned to @schroeder5
mentioned in commit a01d7bc2
merged