[llvm] [CI] Rework github workflow processing (PR #130317)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 03:42:08 PDT 2025


================
@@ -191,25 +196,23 @@ def get_per_workflow_metrics(
 
             # The timestamp associated with the event is expected by Grafana to be
             # in nanoseconds.
-            created_at_ns = int(created_at.timestamp()) * 10**9
+            completed_at_ns = int(completed_at.timestamp()) * 10**9
----------------
Keenuts wrote:

Yep, added a condition to check the metric age before adding it, thus dropping metrics older than 2 hours.

https://github.com/llvm/llvm-project/pull/130317


More information about the llvm-commits mailing list