Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class PerformanceCaptureConfig.
Performance Capture configuration.
Generated from protobuf message google.cloud.sql.v1.PerformanceCaptureConfig
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enabled
bool
Optional. Enable or disable the Performance Capture feature.
↳ probing_interval_seconds
int
Optional. The time interval in seconds between any two probes.
↳ probe_threshold
int
Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
↳ running_threads_threshold
int
Optional. The minimum number of server threads running to trigger the capture on primary.
↳ seconds_behind_source_threshold
int
Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
↳ transaction_duration_threshold
int
Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
getEnabled
Optional. Enable or disable the Performance Capture feature.
bool
hasEnabled
clearEnabled
setEnabled
Optional. Enable or disable the Performance Capture feature.
var
bool
$this
getProbingIntervalSeconds
Optional. The time interval in seconds between any two probes.
int
hasProbingIntervalSeconds
clearProbingIntervalSeconds
setProbingIntervalSeconds
Optional. The time interval in seconds between any two probes.
var
int
$this
getProbeThreshold
Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
int
hasProbeThreshold
clearProbeThreshold
setProbeThreshold
Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
var
int
$this
getRunningThreadsThreshold
Optional. The minimum number of server threads running to trigger the capture on primary.
int
hasRunningThreadsThreshold
clearRunningThreadsThreshold
setRunningThreadsThreshold
Optional. The minimum number of server threads running to trigger the capture on primary.
var
int
$this
getSecondsBehindSourceThreshold
Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
int
hasSecondsBehindSourceThreshold
clearSecondsBehindSourceThreshold
setSecondsBehindSourceThreshold
Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
var
int
$this
getTransactionDurationThreshold
Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
int
hasTransactionDurationThreshold
clearTransactionDurationThreshold
setTransactionDurationThreshold
Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
var
int
$this

