vitess.io/vitess@v0.16.2/go/flags/endtoend/vtgr.txt (about)

     1  Usage of vtgr:
     2        --abort_rebootstrap                          Don't allow vtgr to rebootstrap an existing group.
     3        --alsologtostderr                            log to standard error as well as files
     4        --clusters_to_watch strings                  Comma-separated list of keyspaces or keyspace/shards that this instance will monitor and repair. Defaults to all clusters in the topology. Example: "ks1,ks2/-80"
     5        --consul_auth_static_file string             JSON File to read the topos/tokens from.
     6        --db_config string                           Full path to db config file that will be used by VTGR.
     7        --db_flavor string                           MySQL flavor override. (default "MySQL56")
     8        --db_port int                                Local mysql port, set this to enable local fast check.
     9        --emit_stats                                 If set, emit stats to push-based monitoring and stats backends
    10        --enable_heartbeat_check                     Enable heartbeat checking, set together with --group_heartbeat_threshold.
    11        --gr_port int                                Port to bootstrap a MySQL group. (default 33061)
    12        --group_heartbeat_threshold int              VTGR will trigger backoff on inconsistent state if the group heartbeat staleness exceeds this threshold (in seconds). Should be used along with --enable_heartbeat_check.
    13        --grpc_auth_static_client_creds string       When using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server.
    14        --grpc_compression string                    Which protocol to use for compressing gRPC. Default: nothing. Supported: snappy
    15        --grpc_enable_tracing                        Enable gRPC tracing.
    16        --grpc_initial_conn_window_size int          gRPC initial connection window size
    17        --grpc_initial_window_size int               gRPC initial window size
    18        --grpc_keepalive_time duration               After a duration of this time, if the client doesn't see any activity, it pings the server to see if the transport is still alive. (default 10s)
    19        --grpc_keepalive_timeout duration            After having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed. (default 10s)
    20        --grpc_max_message_size int                  Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
    21        --grpc_prometheus                            Enable gRPC monitoring with Prometheus.
    22    -h, --help                                       display usage and exit
    23        --keep_logs duration                         keep logs for this long (using ctime) (zero to keep forever)
    24        --keep_logs_by_mtime duration                keep logs for this long (using mtime) (zero to keep forever)
    25        --lock-timeout duration                      Maximum time for which a shard/keyspace lock can be acquired for (default 45s)
    26        --log_backtrace_at traceLocation             when logging hits line file:N, emit a stack trace (default :0)
    27        --log_dir string                             If non-empty, write log files in this directory
    28        --log_err_stacks                             log stack traces for errors
    29        --log_rotate_max_size uint                   size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
    30        --logtostderr                                log to standard error instead of files
    31        --ping_tablet_timeout duration               time to wait when we ping a tablet (default 2s)
    32        --pprof strings                              enable profiling
    33        --purge_logs_interval duration               how often try to remove old logs (default 1h0m0s)
    34        --refresh_interval duration                  Refresh interval to load tablets. (default 10s)
    35        --remote_operation_timeout duration          time to wait for a remote operation (default 15s)
    36        --scan_interval duration                     Scan interval to diagnose and repair. (default 3s)
    37        --scan_repair_timeout duration               Time to wait for a Diagnose and repair operation. (default 3s)
    38        --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)
    39        --stats_backend string                       The name of the registered push-based monitoring/stats backend to use
    40        --stats_combine_dimensions string            List of dimensions to be combined into a single "all" value in exported stats vars
    41        --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
    42        --stats_drop_variables string                Variables to be dropped from the list of exported variables.
    43        --stats_emit_period duration                 Interval between emitting stats to all registered backends (default 1m0s)
    44        --stderrthreshold severity                   logs at or above this threshold go to stderr (default 1)
    45        --tablet_manager_grpc_ca string              the server ca to use to validate servers when connecting
    46        --tablet_manager_grpc_cert string            the cert to use to connect
    47        --tablet_manager_grpc_concurrency int        concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,AllPrivs,App}) (default 8)
    48        --tablet_manager_grpc_connpool_size int      number of tablets to keep tmclient connections open to (default 100)
    49        --tablet_manager_grpc_crl string             the server crl to use to validate server certificates when connecting
    50        --tablet_manager_grpc_key string             the key to use to connect
    51        --tablet_manager_grpc_server_name string     the server name to use to validate server certificate
    52        --tablet_manager_protocol string             Protocol to use to make tabletmanager RPCs to vttablets. (default "grpc")
    53        --topo_consul_lock_delay duration            LockDelay for consul session. (default 15s)
    54        --topo_consul_lock_session_checks string     List of checks for consul session. (default "serfHealth")
    55        --topo_consul_lock_session_ttl string        TTL for consul session.
    56        --topo_consul_watch_poll_duration duration   time of the long poll for watch queries. (default 30s)
    57        --topo_etcd_lease_ttl int                    Lease TTL for locks and leader election. The client will use KeepAlive to keep the lease going. (default 30)
    58        --topo_etcd_tls_ca string                    path to the ca to use to validate the server cert when connecting to the etcd topo server
    59        --topo_etcd_tls_cert string                  path to the client cert to use to connect to the etcd topo server, requires topo_etcd_tls_key, enables TLS
    60        --topo_etcd_tls_key string                   path to the client key to use to connect to the etcd topo server, enables TLS
    61        --topo_global_root string                    the path of the global topology data in the global topology server
    62        --topo_global_server_address string          the address of the global topology server
    63        --topo_implementation string                 the topology implementation to use
    64        --topo_zk_auth_file string                   auth to use when connecting to the zk topo server, file contents should be <scheme>:<auth>, e.g., digest:user:pass
    65        --topo_zk_base_timeout duration              zk base timeout (see zk.Connect) (default 30s)
    66        --topo_zk_max_concurrency int                maximum number of pending requests to send to a Zookeeper server. (default 64)
    67        --topo_zk_tls_ca string                      the server ca to use to validate servers when connecting to the zk topo server
    68        --topo_zk_tls_cert string                    the cert to use to connect to the zk topo server, requires topo_zk_tls_key, enables TLS
    69        --topo_zk_tls_key string                     the key to use to connect to the zk topo server, enables TLS
    70        --v Level                                    log level for V logs
    71    -v, --version                                    print binary version
    72        --vmodule moduleSpec                         comma-separated list of pattern=N settings for file-filtered logging
    73        --vtgr_config string                         Config file for vtgr.