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 v1beta 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\u003eThis documentation details the \u003ccode\u003eObservabilityInstanceConfig\u003c/code\u003e class within the Google Cloud AlloyDB v1beta API, which is used for configuring observability features for database instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObservabilityInstanceConfig\u003c/code\u003e class provides several properties to enable or disable specific observability features, such as \u003ccode\u003eEnabled\u003c/code\u003e, \u003ccode\u003ePreserveComments\u003c/code\u003e, \u003ccode\u003eTrackActiveQueries\u003c/code\u003e, \u003ccode\u003eTrackClientAddress\u003c/code\u003e, \u003ccode\u003eRecordApplicationTags\u003c/code\u003e, and \u003ccode\u003eTrackWaitEvents\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes configurable options like \u003ccode\u003eMaxQueryStringLength\u003c/code\u003e for setting the query string length limit and \u003ccode\u003eQueryPlansPerMinute\u003c/code\u003e to define the number of query execution plans captured per minute.\u003c/p\u003e\n"],["\u003cp\u003eThe class also contains read-only properties, like \u003ccode\u003eTrackWaitEventTypes\u003c/code\u003e, that are only modified by the producer API.\u003c/p\u003e\n"],["\u003cp\u003eIt implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, along with having two constructors, one being the default, and the other accepting an \u003ccode\u003eObservabilityInstanceConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class Instance.Types.ObservabilityInstanceConfig (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.ObservabilityInstanceConfig)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.ObservabilityInstanceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.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.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types)[ObservabilityInstanceConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.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."]]