allow prom retention to be specified

This commit is contained in:
Jonathan Shook 2020-12-17 17:08:46 -06:00
parent c68c3ce2b0
commit 2450729bae

View File

@ -296,7 +296,7 @@ public class NBCLIOptions {
break;
case DOCKER_PROM_RETENTION_DAYS:
arglist.removeFirst();
dockerPromRetentionDays = Integer.parseInt(readWordOrThrow(arglist, "prometheus retention days"));
dockerPromRetentionDays = readWordOrThrow(arglist, "prometheus retention (183d by default)");
break;
case DOCKER_GRAFANA_TAG:
arglist.removeFirst();