You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/config.go
+22-18Lines changed: 22 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,7 @@ type Common struct {
123
123
typeFeatureFlagsstruct {
124
124
UseCarbonBehaviorbool`toml:"use-carbon-behaviour" json:"use-carbon-behaviour" comment:"if true, prefers carbon's behaviour on how tags are treated"`
125
125
DontMatchMissingTagsbool`toml:"dont-match-missing-tags" json:"dont-match-missing-tags" comment:"if true, seriesByTag terms containing '!=' or '!=~' operators will not match metrics that don't have the tag at all"`
126
+
LogQueryProgressbool`toml:"log-query-progress" json:"log-query-progress" comment:"if true, gch will log affected rows count by clickhouse query"`
126
127
}
127
128
128
129
// IndexReverseRule contains rules to use direct or reversed request to index table
@@ -210,6 +211,8 @@ type ClickHouse struct {
210
211
DataTimeout time.Duration`toml:"data-timeout" json:"data-timeout" comment:"default total timeout to fetch data, can be overwritten with query-params"`
211
212
QueryParams []QueryParam`toml:"query-params" json:"query-params" comment:"customized query params (url, data timeout, limiters) for durations greater or equal"`
212
213
214
+
ProgressSendingInterval time.Duration`toml:"progress-sending-interval" json:"progress-sending-interval" comment:"time interval for ch query progress sending, it's equal to http_headers_progress_interval_ms header"`
215
+
213
216
RenderMaxQueriesint`toml:"render-max-queries" json:"render-max-queries" comment:"Max queries to render queiries"`
214
217
RenderConcurrentQueriesint`toml:"render-concurrent-queries" json:"render-concurrent-queries" comment:"Concurrent queries to render queiries"`
215
218
RenderAdaptiveQueriesint`toml:"render-adaptive-queries" json:"render-adaptive-queries" comment:"Render adaptive queries (based on load average) for increase/decrease concurrent queries"`
0 commit comments