From 696e26670cbc5fd1b153d7fc2bac088e69088ff5 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Thu, 24 Apr 2014 17:03:29 -0700 Subject: [PATCH] only use hpc events in cdn operator display --- 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 b3d3350..9c1bebc 100644 --- a/planetstack/core/plus/views.py +++ b/planetstack/core/plus/views.py @@ -245,7 +245,7 @@ def getCDNOperatorData(randomizeData = False, wait=True): # will eventually pick them up. if rows: - rows = bq.postprocess_results(rows, filter={"slice": HPC_SLICE_NAME}, maxi=["cpu"], count=["hostname"], computed=["bytes_sent/elapsed"], groupBy=["Time","site"], maxDeltaTime=80) + rows = bq.postprocess_results(rows, filter={"event": "hpc_heartbeat"}, maxi=["cpu"], count=["hostname"], computed=["bytes_sent/elapsed"], groupBy=["Time","site"], maxDeltaTime=80) # dictionaryize the statistics rows by site name stats_rows = {} -- 2.43.0