[llvm] [CI] Add queue size, running count metrics (PR #122714)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 10:29:39 PST 2025
================
@@ -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:
This currently will also pick up all the libc++ and Github hosted jobs. Is that intentional?
https://github.com/llvm/llvm-project/pull/122714
More information about the llvm-commits
mailing list