Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::PerformanceCaptureConfig (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::PerformanceCaptureConfig.

Performance capture configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables or disables the performance capture feature.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables or disables the performance capture feature.
Returns
  • (::Boolean) — Optional. Enables or disables the performance capture feature.

#probe_threshold

def probe_threshold() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.

#probe_threshold=

def probe_threshold=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
Returns
  • (::Integer) — Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.

#probing_interval_seconds

def probing_interval_seconds() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.

#probing_interval_seconds=

def probing_interval_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.
Returns
  • (::Integer) — Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.

#running_threads_threshold

def running_threads_threshold() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum number of MySQL Threads_running to trigger the performance capture on the primary instance.

#running_threads_threshold=

def running_threads_threshold=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum number of MySQL Threads_running to trigger the performance capture on the primary instance.
Returns
  • (::Integer) — Optional. Specifies the minimum number of MySQL Threads_running to trigger the performance capture on the primary instance.

#seconds_behind_source_threshold

def seconds_behind_source_threshold() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.

#seconds_behind_source_threshold=

def seconds_behind_source_threshold=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
Returns
  • (::Integer) — Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.

#transaction_duration_threshold

def transaction_duration_threshold() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.

#transaction_duration_threshold=

def transaction_duration_threshold=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
Returns
  • (::Integer) — Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.