hydra-notify: track the duration of handling an event
[?]
Dec 22, 2021, 12:46 AM
M3VKUXQLUTRT2JM732U24MYH2RGWVNPDR66PM5BTBUARULSVGQUQCDependencies
- [2]
DHOKYWTSHook up the retryable tasks with hydra-notify - [3]
32KJOERMTurn hydra-notify into a daemon - [4]
CQZQE32VImprove handling of Perl's block eval errors - [5]
4ZCUCACYhydra-notify: Fix processing notifications - [6]
I7DFJWL6hydra-notify: initial scratch take of prometheus events - [*]
IE2PRAQUhydra-queue-runner: Send build notifications - [*]
QEXFA5Y2hydra-notify: use Hydra::Event - [*]
BJJLHGFChydra-notify: pre-declare metrics - [*]
P4SME2BCAbstract over postgres' LISTEN/NOTIFY
Change contents
- edit in src/script/hydra-notify at line 7
use Time::HiRes qw( gettimeofday tv_interval ); - edit in src/script/hydra-notify at line 49
);$prom->declare("notify_event_runtime",type => "histogram",help => "Number of seconds spent executing events by channel." - edit in src/script/hydra-notify at line 118[11.2017][3.1058]
my $start_time = [gettimeofday()]; - replacement in src/script/hydra-notify at line 139
}};$prom->histogram_observe("notify_event_runtime", tv_interval($start_time), { channel => $channelName });