diff --git a/ofborg/build.rs b/ofborg/build.rs index e510f9c..1c30cbd 100644 --- a/ofborg/build.rs +++ b/ofborg/build.rs @@ -248,6 +248,13 @@ fn events() -> Vec { ("branch", "String"), ]), ), + Metric::ticker( + "TargetBranchFailsEvaluation", + "Number of PR evaluations which failed because the target branch failed", + Some(vec![ + ("branch", "String"), + ]), + ), Metric::ticker( "JobDecodeSuccess", "Number of successfully decoded jobs", diff --git a/ofborg/src/tasks/massrebuilder.rs b/ofborg/src/tasks/massrebuilder.rs index ed35114..88abdb0 100644 --- a/ofborg/src/tasks/massrebuilder.rs +++ b/ofborg/src/tasks/massrebuilder.rs @@ -196,6 +196,7 @@ impl worker::SimpleWorker for MassRebuildWorker