Number of query execution plans captured by Insights per minute
for all queries combined. The default value is 5.
Any integer between 0 and 20 is considered valid.
Number of query execution plans captured by Insights per minute
for all queries combined. The default value is 5.
Any integer between 0 and 20 is considered valid.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface Instance.QueryInsightsInstanceConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder) \n\n public static interface Instance.QueryInsightsInstanceConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getQueryPlansPerMinute()\n\n public abstract int getQueryPlansPerMinute()\n\nNumber of query execution plans captured by Insights per minute\nfor all queries combined. The default value is 5.\nAny integer between 0 and 20 is considered valid.\n\n`optional uint32 query_plans_per_minute = 5;`\n\n### getQueryStringLength()\n\n public abstract int getQueryStringLength()\n\nQuery string length. The default value is 1024.\nAny integer between 256 and 4500 is considered valid.\n\n`uint32 query_string_length = 4;`\n\n### getRecordApplicationTags()\n\n public abstract boolean getRecordApplicationTags()\n\nRecord application tags for an instance.\nThis flag is turned \"on\" by default.\n\n`optional bool record_application_tags = 2;`\n\n### getRecordClientAddress()\n\n public abstract boolean getRecordClientAddress()\n\nRecord client address for an instance. Client address is PII information.\nThis flag is turned \"on\" by default.\n\n`optional bool record_client_address = 3;`\n\n### hasQueryPlansPerMinute()\n\n public abstract boolean hasQueryPlansPerMinute()\n\nNumber of query execution plans captured by Insights per minute\nfor all queries combined. The default value is 5.\nAny integer between 0 and 20 is considered valid.\n\n`optional uint32 query_plans_per_minute = 5;`\n\n### hasRecordApplicationTags()\n\n public abstract boolean hasRecordApplicationTags()\n\nRecord application tags for an instance.\nThis flag is turned \"on\" by default.\n\n`optional bool record_application_tags = 2;`\n\n### hasRecordClientAddress()\n\n public abstract boolean hasRecordClientAddress()\n\nRecord client address for an instance. Client address is PII information.\nThis flag is turned \"on\" by default.\n\n`optional bool record_client_address = 3;`"]]