Puppet Class: profile::cache::kafka::alerts

Defined in:
modules/profile/manifests/cache/kafka/alerts.pp

Overview

Class: profile::cache::kafka::alerts

Monitoring Varnishkafka prometheus aggregate metrics.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'modules/profile/manifests/cache/kafka/alerts.pp', line 5

class profile::cache::kafka::alerts {

    # Generate an alert if too many delivery report errors per second
    #
    # Currently monitored:
    # varnishkafka-webrequest in text/upload
    # varnishkafka-eventlogging in text
    # varnishkafka-statsv in text

    profile::cache::kafka::varnishkafka_delivery_alert { 'varnishkafka-alert-webrequest-text':
        cache_segment => 'text',
        instance      => 'webrequest',
    }

    profile::cache::kafka::varnishkafka_delivery_alert { 'varnishkafka-alert-eventlogging-text':
        cache_segment => 'text',
        instance      => 'eventlogging',
    }

    profile::cache::kafka::varnishkafka_delivery_alert { 'varnishkafka-alert-statsv-text':
        cache_segment => 'text',
        instance      => 'statsv',
    }

    # Varnishkafka - Cache upload
    profile::cache::kafka::varnishkafka_delivery_alert { 'varnishkafka-alert-webrequest-upload':
        cache_segment => 'upload',
        instance      => 'webrequest',
    }
}