Search

vcli stats prune

Remove metrics counters that has not received an update in a given period of time

Synopsis

Remove metrics counters that has not received an update in a given period of time.

Note that if the number of metrics that will be removed is large, this operation may take a while to complete and could impact overall system performance.

vcli stats prune [flags]

Options

  -h, --help                  help for prune
  -i, --inactive-for string   Removes metrics that have been inactive, not received any update, for longer than this duration (e.g., '30m', '24h')
  -y, --yes                   Perform operation without confirmation

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203