[llvm] [CI] Add queue size, running count metrics (PR #122714)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 00:23:47 PST 2025
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/122714 at github.com>
================
@@ -26,7 +26,67 @@ class JobMetrics:
workflow_id: int
-def get_metrics(github_repo: github.Repository, workflows_to_track: dict[str, int]):
+ at dataclass
+class GaugeMetric:
+ name: str
+ value: int
+ time_ns: int
+
+
+def get_sampled_workflow_metrics(github_repo: github.Repository):
+ """Gets global statistics about the Github workflow queue
----------------
boomanaiden154 wrote:
Ah, didn't see that. Sorry.
https://github.com/llvm/llvm-project/pull/122714
More information about the llvm-commits
mailing list