DatabaseInstanceSettingsPerformanceCaptureConfig constructor
- Input<
int?> ? cpuUtilizationThresholdPercent, - Input<
bool?> ? enabled, - Input<
int?> ? historyListLengthThresholdCount, - Input<
int?> ? memoryUsageThresholdPercent, - Input<
int?> ? probeThreshold, - Input<
int?> ? probingIntervalSeconds, - Input<
int?> ? runningThreadsThreshold, - Input<
int?> ? secondsBehindSourceThreshold, - Input<
int?> ? semaphoreWaitThresholdCount, - Input<
int?> ? transactionDurationThreshold, - Input<
List< ? transactionKillExcludedUserHosts,String> ?> - Input<
int?> ? transactionKillThresholdSeconds, - Input<
String?> ? transactionKillType, - Input<
int?> ? transactionLockWaitThresholdCount,
Creates a new DatabaseInstanceSettingsPerformanceCaptureConfig.
cpuUtilizationThresholdPercent The minimum percentage of CPU utilization that triggers the performance capture. Valid range is 10 to 99. 0 disables the check.
enabled Enable or disable the Performance Capture.
historyListLengthThresholdCount The minimum number of undo log entries in the history list length that triggers the performance capture. Valid range is 10000 to 10000000. 0 disables the check.
memoryUsageThresholdPercent The minimum percentage of memory usage that triggers the performance capture. Valid range is 10 to 99. 0 disables the check.
probeThreshold The minimum number of consecutive readings above threshold that triggers instance state capture.
probingIntervalSeconds The time interval in seconds between any two probes.
runningThreadsThreshold The minimum number of server threads running to trigger the capture on primary.
secondsBehindSourceThreshold The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
semaphoreWaitThresholdCount The minimum number of semaphore waits that triggers the performance capture. Valid range is 10 to 10000. 0 disables the check.
transactionDurationThreshold The amount of time in seconds that a transaction needs to have been open before getting recorded.
transactionKillExcludedUserHosts A list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'.
transactionKillThresholdSeconds The amount of time in seconds that a transaction needs to have been open before the watcher starts terminating it. Valid range is 60 to 604800. 0 disables termination.
transactionKillType Determines which transactions are allowed to be terminated when they exceed transaction_kill_threshold_seconds. Possible values are: "TRANSACTION_KILL_TYPE_UNSPECIFIED", "READ_ONLY_TRANSACTIONS", "ALL_TRANSACTIONS".
transactionLockWaitThresholdCount The minimum number of transactions in lock wait state that triggers the performance capture. Valid range is 10 to 10000. 0 disables the check.
Implementation
const DatabaseInstanceSettingsPerformanceCaptureConfig({
this.cpuUtilizationThresholdPercent,
this.enabled,
this.historyListLengthThresholdCount,
this.memoryUsageThresholdPercent,
this.probeThreshold,
this.probingIntervalSeconds,
this.runningThreadsThreshold,
this.secondsBehindSourceThreshold,
this.semaphoreWaitThresholdCount,
this.transactionDurationThreshold,
this.transactionKillExcludedUserHosts,
this.transactionKillThresholdSeconds,
this.transactionKillType,
this.transactionLockWaitThresholdCount,
});