UpdateThrottlerConfig

vtctldclient UpdateThrottlerConfig

Update the tablet throttler configuration for all tablets in the given keyspace (across all cells)

  1. vtctldclient UpdateThrottlerConfig [--enable|--disable] [--threshold=<float64>] [--custom-query=<query>] [--check-as-check-self|--check-as-check-shard] [--throttle-app|unthrottle-app=<name>] [--throttle-app-ratio=<float, range [0..1]>] [--throttle-app-duration=<duration>] <keyspace>

Options

  1. --check-as-check-self /throttler/check requests behave as is /throttler/check-self was called
  2. --check-as-check-shard use standard behavior for /throttler/check requests
  3. --custom-query string custom throttler check query
  4. --disable Disable the throttler
  5. --enable Enable the throttler
  6. -h, --help help for UpdateThrottlerConfig
  7. --threshold float threshold for the either default check (replication lag seconds) or custom check
  8. --throttle-app string an app name to throttle
  9. --throttle-app-duration duration duration after which throttled app rule expires (app specififed in --throttled-app) (default 1h0m0s)
  10. --throttle-app-exempt exempt this app from being at all throttled. WARNING: use with extreme care, as this is likely to push metrics beyond the throttler's threshold, and starve other apps
  11. --throttle-app-ratio float ratio to throttle app (app specififed in --throttled-app) (default 1)
  12. --unthrottle-app string an app name to unthrottle

Options inherited from parent commands

  1. --action_timeout duration timeout to use for the command (default 1h0m0s)
  2. --compact use compact format for otherwise verbose outputs
  3. --server string server to use for the connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.