From: Scott Baker Date: Fri, 25 Apr 2014 00:03:29 +0000 (-0700) Subject: only use hpc events in cdn operator display X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=696e26670cbc5fd1b153d7fc2bac088e69088ff5;p=plstackapi.git only use hpc events in cdn operator display --- 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 = {}