add metrics for hydra notifications.

[?]
Jun 12, 2018, 12:00 PM
GFORSLLENTUWHM44W3D7NMCRC76UUXFJOU64OXBL3EOH6ZMBCVJAC

Dependencies

  • [2] BZSJO2RM hydra-send-stats: Keep track of the number of machines
  • [*] DODOGD7M Send queue runner stats to statsd

Change contents

  • edit in src/script/hydra-send-stats at line 59
    [2.189]
    [4.1831]
    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});