Class InsightsConfig (0.1.1)

InsightsConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
query_insights_enabled bool
Whether Query Insights feature is enabled.
record_client_address bool
Whether Query Insights will record client address when enabled.
record_application_tags bool
Whether Query Insights will record application tags from query when enabled.
query_string_length google.protobuf.wrappers_pb2.Int32Value
Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater 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.
query_plans_per_minute google.protobuf.wrappers_pb2.Int32Value
Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
enhanced_query_insights_enabled google.protobuf.wrappers_pb2.BoolValue
Optional. Whether enhanced query insights feature is enabled.