[llvm] [CI] Add queue size, running count metrics (PR #122714)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 02:22:03 PST 2025
================
@@ -139,12 +199,25 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
metrics_userid: The userid to use for the upload.
api_key: The API key to use for the upload.
"""
+
+ if len(workflow_metrics) == 0:
+ print("No metrics found to upload.", file=sys.stdout)
+ return
----------------
Keenuts wrote:
Moved this here: I want to keep this check to avoid sending bad requests if we drop metrics in the future, but it wasn't ideal to keep it in the main loop anymore since we could see we always add metrics above.
https://github.com/llvm/llvm-project/pull/122714
More information about the llvm-commits
mailing list