Puppet Class: profile::wikifunctions::beta

Defined in:
modules/profile/manifests/wikifunctions/beta.pp

Overview

SPDX-License-Identifier: Apache-2.0 Monitoring checks for the Wikifunctions Beta Cluster instance.



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/profile/manifests/wikifunctions/beta.pp', line 3

class profile::wikifunctions::beta () {
    $vhost = 'wikifunctions.beta.wmflabs.org'
    prometheus::blackbox::check::http { $vhost:
        instance_label     => $vhost,
        ip_families        => ['ip4'],
        ip4                => ipresolve($vhost, 4),
        path               => '/w/api.php?action=wikilambda_health_check&format=json',
        proxy_url          => "http://webproxy.${::site}.wmnet:8080",
        team               => 'abstract-wikipedia',
        timeout            =>  '10s',
        severity           => 'warning',
        # This health check runs multiple tests against the orchestrator. It only returns
        # success: true if all tests are run and passed.
        body_regex_matches => ['"success":"true"'],
    }
}