The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Argos::Conf::Reduce - Implements Argos::Conf

SYNOPSIS

use Argos::Conf::Reduce;

my $conf = Argos::Conf::Reduce->new ( '/conf/file' )->dump( 'foo' );

CONFIGURATION

YAML file that defines sets of reduce parameters index by names. Each set defines the following parameters:

stat : status to alert.
freq : alert frequency.
tier : tiers of escalation.
code : name of alert code.

And optional parameters:

rate : sample rate.
     ( default to half of alert frequency. ) 
esc  : number of alerts before escalating.
     ( default 0 ) no escalation, alert all tiers.