Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::PerformanceCaptureConfig (v0.2.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

#cpu_utilization_threshold_percent

def cpu_utilization_threshold_percent() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum percentage of CPU utilization to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.

#cpu_utilization_threshold_percent=

def cpu_utilization_threshold_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum percentage of CPU utilization to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.
Returns
  • (::Integer) — Optional. Specifies the minimum percentage of CPU utilization to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.

#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.

#history_list_length_threshold_count

def history_list_length_threshold_count() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum number of undo log entries in the history list length to trigger the performance capture. Valid integers range from 10000 to 10000000. Enter 0 to disable the check.

#history_list_length_threshold_count=

def history_list_length_threshold_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum number of undo log entries in the history list length to trigger the performance capture. Valid integers range from 10000 to 10000000. Enter 0 to disable the check.
Returns
  • (::Integer) — Optional. Specifies the minimum number of undo log entries in the history list length to trigger the performance capture. Valid integers range from 10000 to 10000000. Enter 0 to disable the check.

#memory_usage_threshold_percent

def memory_usage_threshold_percent() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum percentage of memory usage to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.

#memory_usage_threshold_percent=

def memory_usage_threshold_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum percentage of memory usage to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.
Returns
  • (::Integer) — Optional. Specifies the minimum percentage of memory usage to trigger the performance capture. Valid integers range from 10 to 99. Enter 0 to disable the check.

#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.

#semaphore_wait_threshold_count

def semaphore_wait_threshold_count() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum allowed number of semaphore waits to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.

#semaphore_wait_threshold_count=

def semaphore_wait_threshold_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum allowed number of semaphore waits to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.
Returns
  • (::Integer) — Optional. Specifies the minimum allowed number of semaphore waits to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.

#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.

#transaction_kill_excluded_user_hosts

def transaction_kill_excluded_user_hosts() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Specifies a customer-defined list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'. A standalone 'user' implies 'user@%', excluding the user from any host. Wildcard '%' is allowed in the host part of the 'user@host' format. Example: ["app_user", "db_admin@10.1.2.3", "report_user@%"]

#transaction_kill_excluded_user_hosts=

def transaction_kill_excluded_user_hosts=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Specifies a customer-defined list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'. A standalone 'user' implies 'user@%', excluding the user from any host. Wildcard '%' is allowed in the host part of the 'user@host' format. Example: ["app_user", "db_admin@10.1.2.3", "report_user@%"]
Returns
  • (::Array<::String>) — Optional. Specifies a customer-defined list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'. A standalone 'user' implies 'user@%', excluding the user from any host. Wildcard '%' is allowed in the host part of the 'user@host' format. Example: ["app_user", "db_admin@10.1.2.3", "report_user@%"]

#transaction_kill_threshold_seconds

def transaction_kill_threshold_seconds() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts terminating it. Valid integers range from 60 to 604800 (7 days). Enter 0 to disable. If enabled (i.e., > 0), this value must be greater than or equal to transaction_duration_threshold. Configurations where 0 < transaction_kill_threshold_seconds < transaction_duration_threshold will be rejected.

#transaction_kill_threshold_seconds=

def transaction_kill_threshold_seconds=(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 terminating it. Valid integers range from 60 to 604800 (7 days). Enter 0 to disable. If enabled (i.e., > 0), this value must be greater than or equal to transaction_duration_threshold. Configurations where 0 < transaction_kill_threshold_seconds < transaction_duration_threshold will be rejected.
Returns
  • (::Integer) — Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts terminating it. Valid integers range from 60 to 604800 (7 days). Enter 0 to disable. If enabled (i.e., > 0), this value must be greater than or equal to transaction_duration_threshold. Configurations where 0 < transaction_kill_threshold_seconds < transaction_duration_threshold will be rejected.

#transaction_kill_type

def transaction_kill_type() -> ::Google::Cloud::Sql::V1::PerformanceCaptureConfig::TransactionKillType
Returns

#transaction_kill_type=

def transaction_kill_type=(value) -> ::Google::Cloud::Sql::V1::PerformanceCaptureConfig::TransactionKillType
Parameter
Returns

#transaction_lock_wait_threshold_count

def transaction_lock_wait_threshold_count() -> ::Integer
Returns
  • (::Integer) — Optional. Specifies the minimum allowed number of transactions in lock wait state to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.

#transaction_lock_wait_threshold_count=

def transaction_lock_wait_threshold_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Specifies the minimum allowed number of transactions in lock wait state to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.
Returns
  • (::Integer) — Optional. Specifies the minimum allowed number of transactions in lock wait state to trigger the performance capture. Valid integers range from 10 to 10000. Enter 0 to disable the check.