metrics: Increase `hooks_successful` when done
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
finga 2022-03-23 14:46:00 +01:00
parent f25ee6b943
commit f38c70373c
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ pub async fn receive_hook<'a>(
.fetch_add(1, Ordering::Relaxed);
}
}
metrics.hooks_successful.fetch_add(1, Ordering::Relaxed);
});
Status::Ok