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. Enables or disables the performance capture feature.
↳ probing_interval_seconds
int
Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.
↳ probe_threshold
int
Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
↳ running_threads_threshold
int
Optional. Specifies the minimum number of MySQL Threads_running
to trigger the performance capture on the primary instance.
↳ seconds_behind_source_threshold
int
Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
↳ transaction_duration_threshold
int
Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
getEnabled
Optional. Enables or disables the performance capture feature.
bool
hasEnabled
clearEnabled
setEnabled
Optional. Enables or disables the performance capture feature.
var
bool
$this
getProbingIntervalSeconds
Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.
int
hasProbingIntervalSeconds
clearProbingIntervalSeconds
setProbingIntervalSeconds
Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.
var
int
$this
getProbeThreshold
Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
int
hasProbeThreshold
clearProbeThreshold
setProbeThreshold
Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
var
int
$this
getRunningThreadsThreshold
Optional. Specifies the minimum number of MySQL Threads_running
to
trigger the performance capture on the primary instance.
int
hasRunningThreadsThreshold
clearRunningThreadsThreshold
setRunningThreadsThreshold
Optional. Specifies the minimum number of MySQL Threads_running
to
trigger the performance capture on the primary instance.
var
int
$this
getSecondsBehindSourceThreshold
Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
int
hasSecondsBehindSourceThreshold
clearSecondsBehindSourceThreshold
setSecondsBehindSourceThreshold
Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
var
int
$this
getTransactionDurationThreshold
Optional. Specifies 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. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
var
int
$this

