nosqlbench-836 expand default data retention in promql from 6 mo to 10 years

This commit is contained in:
Jonathan Shook 2022-12-09 14:26:09 -06:00
parent 457c75bc3e
commit 9d1e5c14d7

View File

@ -179,7 +179,7 @@ public class NBCLIOptions {
private Path statepath;
private final List<String> statePathAccesses = new ArrayList<>();
private final String hdrForChartFileName = DEFAULT_CHART_HDR_LOG_NAME;
private String dockerPromRetentionDays = "183d";
private String dockerPromRetentionDays = "3650d";
private String reportSummaryTo = REPORT_SUMMARY_TO_DEFAULT;
private boolean enableAnsi = System.getenv("TERM")!=null && !System.getenv("TERM").isEmpty();
private Maturity minMaturity = Maturity.Unspecified;
@ -371,7 +371,7 @@ public class NBCLIOptions {
break;
case DOCKER_PROM_RETENTION_DAYS:
arglist.removeFirst();
dockerPromRetentionDays = readWordOrThrow(arglist, "prometheus retention (183d by default)");
dockerPromRetentionDays = readWordOrThrow(arglist, "prometheus retention (3650d by default)");
break;
case DOCKER_GRAFANA_TAG:
arglist.removeFirst();