public static interface Instance.ObservabilityInstanceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled()
Observability feature status for an instance.
|
int |
getMaxQueryStringLength()
Query string length.
|
boolean |
getPreserveComments()
Preserve comments in query string for an instance.
|
int |
getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
boolean |
getRecordApplicationTags()
Record application tags for an instance.
|
boolean |
getTrackActiveQueries()
Track actively running queries on the instance.
|
boolean |
getTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
getTrackWaitEventTypes()
Output only.
|
boolean |
hasEnabled()
Observability feature status for an instance.
|
boolean |
hasMaxQueryStringLength()
Query string length.
|
boolean |
hasPreserveComments()
Preserve comments in query string for an instance.
|
boolean |
hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
boolean |
hasRecordApplicationTags()
Record application tags for an instance.
|
boolean |
hasTrackActiveQueries()
Track actively running queries on the instance.
|
boolean |
hasTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
hasTrackWaitEventTypes()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasEnabled()
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;boolean getEnabled()
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;boolean hasPreserveComments()
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;boolean getPreserveComments()
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;boolean hasTrackWaitEvents()
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;boolean getTrackWaitEvents()
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;boolean hasTrackWaitEventTypes()
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean getTrackWaitEventTypes()
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasMaxQueryStringLength()
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;int getMaxQueryStringLength()
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;boolean hasRecordApplicationTags()
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;boolean getRecordApplicationTags()
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;boolean hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;int getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;boolean hasTrackActiveQueries()
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;boolean getTrackActiveQueries()
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;Copyright © 2025 Google LLC. All rights reserved.