Skip to content

Commit 4549685

Browse files
sampler: make sampler enabled by default
Enable sampler by default with 1% sample rate. Release-Note-Core: Enabled Query Sampler by default with 1% sample rate. Change-Id: I31387b29649d418ab78e59581bcb4f7d1ad23396 Reviewed-on: https://gerrit.readyset.name/c/readyset/+/11025 Reviewed-by: Jason Brown <jason.b@readyset.io> Tested-by: Buildkite CI
1 parent f67132d commit 4549685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readyset/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ pub struct Options {
438438
pub tls_mode: TlsMode,
439439

440440
/// Specifies the sample rate for the background query sampler. 0 means no sampling.
441-
#[arg(long, env = "SAMPLER_SAMPLE_RATE", default_value = "0")]
441+
#[arg(long, env = "SAMPLER_SAMPLE_RATE", default_value = "0.01")]
442442
sampler_sample_rate: f64,
443443

444444
/// Specifies the maximum queue size for the background query sampler.

0 commit comments

Comments
 (0)