[libcxx-commits] [libcxx] [llvm] [llvm][CI] Add metrics collection for libc++ premerge testing. (PR #152801)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 22 10:06:41 PDT 2025


================
@@ -208,21 +364,29 @@ def github_get_metrics(
                 continue
 
             logging.info(f"Adding a job metric for job {job.id} in workflow {task.id}")
-            # The timestamp associated with the event is expected by Grafana to be
-            # in nanoseconds.
+            # The timestamp associated with the event is expected by Grafana to
+            # be in nanoseconds.
+            created_at_ns = int(created_at.timestamp()) * 10**9
----------------
boomanaiden154 wrote:

Can you update the comment to describe this?

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


More information about the libcxx-commits mailing list