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: flags/14.0/vtgate.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,7 @@ Usage of vtgate:
126
126
--pprof strings enable profiling
127
127
--proxy_protocol Enable HAProxy PROXY protocol on MySQL listener socket
128
128
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
129
+
--query-timeout int Sets the default query timeout (in ms). Can be overridden by session variable (query_timeout) or comment directive (QUERY_TIMEOUT_MS)
129
130
--querylog-buffer-size int Maximum number of buffered query logs before throttling log output (default 10)
130
131
--querylog-filter-tag string string that must be present in the query for it to be logged; if using a value as the tag, you need to disable query normalization
131
132
--querylog-format string format for query logs ("text" or "json") (default "text")
--emit_stats If set, emit stats to push-based monitoring and stats backends
3
+
-h, --help display usage and exit
4
+
--keep_logs duration keep logs for this long (using ctime) (zero to keep forever)
5
+
--keep_logs_by_mtime duration keep logs for this long (using mtime) (zero to keep forever)
6
+
--log_rotate_max_size uint size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
7
+
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
8
+
--security_policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
9
+
--server string server(s) to connect to
10
+
--stats_backend string The name of the registered push-based monitoring/stats backend to use
11
+
--stats_combine_dimensions string List of dimensions to be combined into a single "all" value in exported stats vars
12
+
--stats_common_tags strings Comma-separated list of common tags for the stats backend. It provides both label and values. Example: label1:value1,label2:value2
13
+
--stats_drop_variables string Variables to be dropped from the list of exported variables.
14
+
--stats_emit_period duration Interval between emitting stats to all registered backends (default 1m0s)
0 commit comments