Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ObservabilityInstanceInfo.
Generated from protobuf message google.cloud.alloydb.v1.Instance.ObservabilityInstanceInfo
Namespace
Google \ Cloud \ AlloyDb \ V1 \ InstanceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enabled |
bool
Output only. Observability feature status for an instance. |
↳ preserve_comments |
bool
Output only. Preserve comments in query string for an instance. |
↳ track_wait_events |
bool
Output only. Track wait events during query execution for an instance. |
↳ track_wait_event_types |
bool
Output only. Track wait event types during query execution for an instance. |
↳ max_query_string_length |
int
Output only. Query string length. The default value is 10k. |
↳ record_application_tags |
bool
Output only. Record application tags for an instance. |
↳ query_plans_per_minute |
int
Output only. Number of query execution plans captured by Insights per minute for all queries combined. |
↳ track_active_queries |
bool
Output only. Track actively running queries on the instance. |
getEnabled
Output only. Observability feature status for an instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnabled
Output only. Observability feature status for an instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreserveComments
Output only. Preserve comments in query string for an instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setPreserveComments
Output only. Preserve comments in query string for an instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTrackWaitEvents
Output only. Track wait events during query execution for an instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setTrackWaitEvents
Output only. Track wait events during query execution for an instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTrackWaitEventTypes
Output only. Track wait event types during query execution for an instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setTrackWaitEventTypes
Output only. Track wait event types during query execution for an instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxQueryStringLength
Output only. Query string length. The default value is 10k.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxQueryStringLength
Output only. Query string length. The default value is 10k.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRecordApplicationTags
Output only. Record application tags for an instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setRecordApplicationTags
Output only. Record application tags for an instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQueryPlansPerMinute
Output only. Number of query execution plans captured by Insights per minute for all queries combined.
| Returns | |
|---|---|
| Type | Description |
int |
|
setQueryPlansPerMinute
Output only. Number of query execution plans captured by Insights per minute for all queries combined.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTrackActiveQueries
Output only. Track actively running queries on the instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setTrackActiveQueries
Output only. Track actively running queries on the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|