diff --git a/common/xfer/constants.go b/common/xfer/constants.go index 04f151699..7b3c0469e 100644 --- a/common/xfer/constants.go +++ b/common/xfer/constants.go @@ -14,9 +14,9 @@ const ( ScopeProbeVersionHeader = "X-Scope-Probe-Version" ) -// ReportPersistenceCapability indicates whether probe reports end up in a -// long-term storage and can be retrieved. -const ReportPersistenceCapability = "report_persistence" +// HistoricReportsCapability indicates whether reports older than the +// current time (-app.window) can be retrieved. +const HistoricReportsCapability = "historic_reports" // Details are some generic details that can be fetched from /api type Details struct { diff --git a/prog/app.go b/prog/app.go index 618c36a2c..ecd4df48e 100644 --- a/prog/app.go +++ b/prog/app.go @@ -295,7 +295,7 @@ func appMain(flags appFlags) { } capabilities := map[string]bool{ - xfer.ReportPersistenceCapability: flags.s3URL != "local", + xfer.HistoricReportsCapability: flags.s3URL != "local", } handler := router(collector, controlRouter, pipeRouter, flags.externalUI, capabilities) if flags.logHTTP {