podman/pkg/domain/infra
Thomas Weber cdbbd79155 stats: add a interval parameter to cli and api stream mode
podman stats polled by default in a 1 sec period.
This can put quite some load on a machine if you run many containers.

The default value is now 5 seconds.
You can change this interval with a new, optional, --interval, -i cli flag.
The api request got also a interval query parameter for the same purpose.

Additionally a unused const was removed.
Api and cli will fail the request if a 0 or negative value is passed in.

Signed-off-by: Thomas Weber <towe75@googlemail.com>
2021-07-27 07:20:47 +02:00
..
abi stats: add a interval parameter to cli and api stream mode 2021-07-27 07:20:47 +02:00
tunnel stats: add a interval parameter to cli and api stream mode 2021-07-27 07:20:47 +02:00
runtime_abi.go bump go module to v3 2021-02-22 09:03:51 +01:00
runtime_abi_unsupported.go bump go module to v3 2021-02-22 09:03:51 +01:00
runtime_libpod.go Clear the storage-options from the graphdriver if users specifies --root 2021-05-19 15:35:59 -04:00
runtime_proxy.go bump go module to v3 2021-02-22 09:03:51 +01:00
runtime_tunnel.go bump go module to v3 2021-02-22 09:03:51 +01:00