diff --git a/stats/view/worker.go b/stats/view/worker.go index fef7bf513..9255d27d2 100644 --- a/stats/view/worker.go +++ b/stats/view/worker.go @@ -116,8 +116,12 @@ func record(tags *tag.Map, ms interface{}) { } // SetReportingPeriod sets the interval between reporting aggregated views in -// the program. If duration is less than or -// equal to zero, it enables the default behavior. +// the program. If duration is less than or equal to zero, it enables the +// default behavior. +// +// Note: each exporter makes different promises about what the lowest supported +// duration is. For example, the Stackdriver exporter recommends a value no +// lower than 1 minute. Consult each exporter per your needs. func SetReportingPeriod(d time.Duration) { // TODO(acetechnologist): ensure that the duration d is more than a certain // value. e.g. 1s