Public Dashboards: use intervalMs and maxDataPoints from request (#53613)

This commit is contained in:
Ezequiel Victorero
2022-08-29 18:13:06 -03:00
committed by GitHub
parent fcea9ac913
commit 722aca5c53
13 changed files with 353 additions and 309 deletions

View File

@@ -213,7 +213,7 @@ func roundInterval(interval time.Duration) time.Duration {
// 12.5m
case interval <= 750000*time.Millisecond:
return time.Millisecond * 600000 // 10m
// 12.5m
// 17.5m
case interval <= 1050000*time.Millisecond:
return time.Millisecond * 900000 // 15m
// 25m