diff --git a/templates/config.yaml b/templates/config.yaml index d50355a..cec07b4 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -71,6 +71,12 @@ data: {{- if .Values.queryParserEngine }} query_parser_engine = {{ .Values.queryParserEngine | quote }} {{- end }} + {{- if .Values.logMinDurationParse }} + log_min_duration_parse = {{ include "pgdog.intval" .Values.logMinDurationParse }} + {{- end }} + {{- if .Values.logQuerySampleLength }} + log_query_sample_length = {{ include "pgdog.intval" .Values.logQuerySampleLength }} + {{- end }} {{- if .Values.regexParserLimit }} regex_parser_limit = {{ include "pgdog.intval" .Values.regexParserLimit }} {{- end }} diff --git a/test/values-full.yaml b/test/values-full.yaml index e61db3b..9f584bb 100644 --- a/test/values-full.yaml +++ b/test/values-full.yaml @@ -6,6 +6,8 @@ env: value: trace queryParserEngine: "pg_query_raw" regexParserLimit: 1000 +logMinDurationParse: 100 +logQuerySampleLength: 1000 # Sharding settings twoPhaseCommit: true diff --git a/values.schema.json b/values.schema.json index e97dfda..93432b6 100644 --- a/values.schema.json +++ b/values.schema.json @@ -1168,6 +1168,14 @@ "type": "object", "description": "Container readiness probe configuration" }, + "logMinDurationParse": { + "type": "integer", + "minimum": 0 + }, + "logQuerySampleLength": { + "type": "integer", + "minimum": 0 + }, "regexParserLimit": { "type": "integer", "minimum": 0