From 8b594db1208dd5ca5f6853f11ba239669dd05878 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Mon, 21 Apr 2014 01:07:19 -0700 Subject: [PATCH] discard statistics > 80 seconds old when doing cdn operator view --- planetstack/core/plus/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/core/plus/views.py b/planetstack/core/plus/views.py index 74222b0..d4cc56b 100644 --- a/planetstack/core/plus/views.py +++ b/planetstack/core/plus/views.py @@ -210,7 +210,7 @@ def getCDNOperatorData(randomizeData = False): #rows = [x for x in rows if x.get("slice","") in hpc_sliceNames] - rows = bq.postprocess_results(rows, filter={"slice": "HyperCache"}, maxi=["cpu"], count=["hostname"], computed=["bytes_sent/elapsed"], groupBy=["Time","site"]) + rows = bq.postprocess_results(rows, filter={"slice": "HyperCache"}, maxi=["cpu"], count=["hostname"], computed=["bytes_sent/elapsed"], groupBy=["Time","site"], maxDeltaTime=80) bq.merge_datamodel_sites(rows) -- 2.43.0