From 06abfd6b2f03dbdfbb170bbf937dda29e881f3ce Mon Sep 17 00:00:00 2001 From: Nikola Knezevic Date: Wed, 13 Nov 2019 11:42:55 +0100 Subject: [PATCH] hydra-send-stats: Cleanup removed metrics In 29468995040ae21e0e1c14c1bdbb16ccb514caa8 these metrics got removed due to refactoring of how notifications work. --- src/script/hydra-send-stats | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/script/hydra-send-stats b/src/script/hydra-send-stats index 50872c1a..2b8c550b 100755 --- a/src/script/hydra-send-stats +++ b/src/script/hydra-send-stats @@ -56,12 +56,6 @@ sub sendQueueRunnerStats { gauge("hydra.queue.machines.total", scalar(grep { $_->{enabled} } (values %{$json->{machines}}))); gauge("hydra.queue.machines.in_use", scalar(grep { $_->{currentJobs} > 0 } (values %{$json->{machines}}))); - gauge("hydra.queue.notification.time_avg_ms", $json->{nrNotificationTimeAvgMs}); - gauge("hydra.queue.notification.time_ms", $json->{nrNotificationTimeMs}); - gauge("hydra.queue.notification.done", $json->{nrNotificationsDone}); - gauge("hydra.queue.notification.failed", $json->{nrNotificationsFailed}); - gauge("hydra.queue.notification.in_progress", $json->{nrNotificationsInProgress}); - gauge("hydra.queue.notification.pending", $json->{nrNotificationsPending}); } while (1) {