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 v1alpha 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."],[[["\u003cp\u003eThe \u003ccode\u003eInstance.Types.ObservabilityInstanceConfig\u003c/code\u003e class in the AlloyDB v1alpha API provides configuration options for instance-specific observability.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eEnabled\u003c/code\u003e, \u003ccode\u003ePreserveComments\u003c/code\u003e, \u003ccode\u003eRecordApplicationTags\u003c/code\u003e, \u003ccode\u003eTrackActiveQueries\u003c/code\u003e, \u003ccode\u003eTrackClientAddress\u003c/code\u003e, and more, allowing granular control over observability features.\u003c/p\u003e\n"],["\u003cp\u003eObservability features, such as query plan capture and tracking, are configurable with default values and can be enabled or disabled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaxQueryStringLength\u003c/code\u003e and \u003ccode\u003eQueryPlansPerMinute\u003c/code\u003e properties control the size of captured query strings and the number of query plans recorded per minute respectively.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class Instance.Types.ObservabilityInstanceConfig (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.ObservabilityInstanceConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.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 v1alpha 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.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.ObservabilityInstanceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.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.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.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.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.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### AssistiveExperiencesEnabled\n\n public bool AssistiveExperiencesEnabled { get; set; }\n\nWhether assistive experiences are enabled for this AlloyDB instance.\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### HasAssistiveExperiencesEnabled\n\n public bool HasAssistiveExperiencesEnabled { get; }\n\nGets whether the \"assistive_experiences_enabled\" field is set\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### HasTrackClientAddress\n\n public bool HasTrackClientAddress { get; }\n\nGets whether the \"track_client_address\" 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### TrackClientAddress\n\n public bool TrackClientAddress { get; set; }\n\nTrack client address for an instance.\nIf not set, default value is \"off\".\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."]]