Skip to content

Commit

Permalink
Merge pull request #63006 from irfansharif/backport21.1-62998
Browse files Browse the repository at this point in the history
release-21.1: sql: lower default sampling rate to 1%
  • Loading branch information
irfansharif authored Apr 2, 2021
2 parents b981854 + bfee1a6 commit eaa839f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/instrumentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
var collectTxnStatsSampleRate = settings.RegisterFloatSetting(
"sql.txn_stats.sample_rate",
"the probability that a given transaction will collect execution statistics (displayed in the DB Console)",
0.1,
0.01,
func(f float64) error {
if f < 0 || f > 1 {
return errors.New("value must be between 0 and 1 inclusive")
Expand Down

0 comments on commit eaa839f

Please sign in to comment.