InsightsConfigResponse

data class InsightsConfigResponse(val queryInsightsEnabled: Boolean, val queryPlansPerMinute: Int, val queryStringLength: Int, val recordApplicationTags: Boolean, val recordClientAddress: Boolean)

Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.

Constructors

Link copied to clipboard
fun InsightsConfigResponse(queryInsightsEnabled: Boolean, queryPlansPerMinute: Int, queryStringLength: Int, recordApplicationTags: Boolean, recordClientAddress: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether Query Insights feature is enabled.

Link copied to clipboard

Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.

Link copied to clipboard

Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.

Link copied to clipboard

Whether Query Insights will record application tags from query when enabled.

Link copied to clipboard

Whether Query Insights will record client address when enabled.