public sealed class Instance.Types.ObservabilityInstanceConfig : IMessage<Instance.Types.ObservabilityInstanceConfig>, IEquatable<Instance.Types.ObservabilityInstanceConfig>, IDeepCloneable<Instance.Types.ObservabilityInstanceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class Instance.Types.ObservabilityInstanceConfig.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# AlloyDB v1 API - Class Instance.Types.ObservabilityInstanceConfig (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig) \n\n public sealed class Instance.Types.ObservabilityInstanceConfig : IMessage\u003cInstance.Types.ObservabilityInstanceConfig\u003e, IEquatable\u003cInstance.Types.ObservabilityInstanceConfig\u003e, IDeepCloneable\u003cInstance.Types.ObservabilityInstanceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1 API class Instance.Types.ObservabilityInstanceConfig.\n\nObservability Instance specific configuration. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance.Types.ObservabilityInstanceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ObservabilityInstanceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.dll\n\nConstructors\n------------\n\n### ObservabilityInstanceConfig()\n\n public ObservabilityInstanceConfig()\n\n### ObservabilityInstanceConfig(ObservabilityInstanceConfig)\n\n public ObservabilityInstanceConfig(Instance.Types.ObservabilityInstanceConfig other)\n\nProperties\n----------\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nObservability feature status for an instance.\nThis flag is turned \"off\" by default.\n\n### HasEnabled\n\n public bool HasEnabled { get; }\n\nGets whether the \"enabled\" field is set\n\n### HasMaxQueryStringLength\n\n public bool HasMaxQueryStringLength { get; }\n\nGets whether the \"max_query_string_length\" field is set\n\n### HasPreserveComments\n\n public bool HasPreserveComments { get; }\n\nGets whether the \"preserve_comments\" field is set\n\n### HasQueryPlansPerMinute\n\n public bool HasQueryPlansPerMinute { get; }\n\nGets whether the \"query_plans_per_minute\" field is set\n\n### HasRecordApplicationTags\n\n public bool HasRecordApplicationTags { get; }\n\nGets whether the \"record_application_tags\" field is set\n\n### HasTrackActiveQueries\n\n public bool HasTrackActiveQueries { get; }\n\nGets whether the \"track_active_queries\" field is set\n\n### HasTrackWaitEventTypes\n\n public bool HasTrackWaitEventTypes { get; }\n\nGets whether the \"track_wait_event_types\" field is set\n\n### HasTrackWaitEvents\n\n public bool HasTrackWaitEvents { get; }\n\nGets whether the \"track_wait_events\" field is set\n\n### MaxQueryStringLength\n\n public int MaxQueryStringLength { get; set; }\n\nQuery string length. The default value is 10k.\n\n### PreserveComments\n\n public bool PreserveComments { get; set; }\n\nPreserve comments in query string for an instance.\nThis flag is turned \"off\" by default.\n\n### QueryPlansPerMinute\n\n public int QueryPlansPerMinute { get; set; }\n\nNumber of query execution plans captured by Insights per minute\nfor all queries combined. The default value is 200.\nAny integer between 0 to 200 is considered valid.\n\n### RecordApplicationTags\n\n public bool RecordApplicationTags { get; set; }\n\nRecord application tags for an instance.\nThis flag is turned \"off\" by default.\n\n### TrackActiveQueries\n\n public bool TrackActiveQueries { get; set; }\n\nTrack actively running queries on the instance.\nIf not set, this flag is \"off\" by default.\n\n### TrackWaitEventTypes\n\n public bool TrackWaitEventTypes { get; set; }\n\nOutput only. Track wait event types during query execution for an\ninstance. This flag is turned \"on\" by default but tracking is enabled\nonly after observability enabled flag is also turned on. This is\nread-only flag and only modifiable by internal API.\n\n### TrackWaitEvents\n\n public bool TrackWaitEvents { get; set; }\n\nTrack wait events during query execution for an instance.\nThis flag is turned \"on\" by default but tracking is enabled only after\nobservability enabled flag is also turned on."]]