prometheus/cmd
Krasi Georgiev a3c41f4256
use the default time retention value only when no size retention is set (#5216)
fixes https://github.com/prometheus/prometheus/issues/5213

Now that we have time and size base retention time bases should not have a default value. A default is set only when both - time and size flags are not set.

This change will not affect current installations that rely on the default time based value, and will avoid confusions when only the size retention is set and it is expected that the default time based setting would be no longer in place.

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-02-19 13:53:43 +02:00
..
prometheus use the default time retention value only when no size retention is set (#5216) 2019-02-19 13:53:43 +02:00
promtool *: use latest release of staticcheck (#5057) 2019-01-04 14:47:38 +01:00