diff --git a/docs/generated/settings/settings-for-tenants.txt b/docs/generated/settings/settings-for-tenants.txt index be6457ed0611..dca6bfc81b11 100644 --- a/docs/generated/settings/settings-for-tenants.txt +++ b/docs/generated/settings/settings-for-tenants.txt @@ -30,6 +30,7 @@ cloudstorage.timeout duration 10m0s the timeout for import/export storage operat cluster.auto_upgrade.enabled boolean true disable automatic cluster version upgrade until reset application cluster.organization string organization name system-visible cluster.preserve_downgrade_option string disable (automatic or manual) cluster version upgrade from the specified version until reset application +diagnostics.active_query_dumps.enabled boolean true experimental: enable dumping of anonymized active queries to disk when node is under memory pressure system-visible diagnostics.forced_sql_stat_reset.interval duration 2h0m0s interval after which the reported SQL Stats are reset even if not collected by telemetry reporter. It has a max value of 24H. application diagnostics.reporting.enabled boolean true enable reporting diagnostic metrics to cockroach labs application diagnostics.reporting.interval duration 1h0m0s interval at which diagnostics data should be reported application diff --git a/docs/generated/settings/settings.html b/docs/generated/settings/settings.html index 70598afff965..d381b6fda1a7 100644 --- a/docs/generated/settings/settings.html +++ b/docs/generated/settings/settings.html @@ -35,7 +35,7 @@
cluster.auto_upgrade.enabled
booleantruedisable automatic cluster version upgrade until resetServerless/Dedicated/Self-Hosted
cluster.organization
stringorganization nameServerless/Dedicated/Self-Hosted (read-only)
cluster.preserve_downgrade_option
stringdisable (automatic or manual) cluster version upgrade from the specified version until resetServerless/Dedicated/Self-Hosted -
diagnostics.active_query_dumps.enabled
booleantrueexperimental: enable dumping of anonymized active queries to disk when node is under memory pressureDedicated/Self-Hosted +
diagnostics.active_query_dumps.enabled
booleantrueexperimental: enable dumping of anonymized active queries to disk when node is under memory pressureServerless/Dedicated/Self-Hosted (read-only)
diagnostics.forced_sql_stat_reset.interval
duration2h0m0sinterval after which the reported SQL Stats are reset even if not collected by telemetry reporter. It has a max value of 24H.Serverless/Dedicated/Self-Hosted
diagnostics.reporting.enabled
booleantrueenable reporting diagnostic metrics to cockroach labsServerless/Dedicated/Self-Hosted
diagnostics.reporting.interval
duration1h0m0sinterval at which diagnostics data should be reportedServerless/Dedicated/Self-Hosted diff --git a/pkg/server/profiler/cluster_settings.go b/pkg/server/profiler/cluster_settings.go index 83bcc08bff32..7da523e2754d 100644 --- a/pkg/server/profiler/cluster_settings.go +++ b/pkg/server/profiler/cluster_settings.go @@ -21,7 +21,7 @@ import "github.com/cockroachdb/cockroach/pkg/settings" // Note: this feature only works for nodes running on unix hosts with cgroups // enabled. var ActiveQueryDumpsEnabled = settings.RegisterBoolSetting( - settings.SystemOnly, + settings.SystemVisible, "diagnostics.active_query_dumps.enabled", "experimental: enable dumping of anonymized active queries to disk when node is under memory pressure", true,