Puppet Class: role::prometheus

Defined in:
modules/role/manifests/prometheus.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/prometheus.pp', line 1

class role::prometheus {
    system::role { 'prometheus::server':
        description => 'Prometheus server (main data centres)',
    }

    include ::role::prometheus::ops
    include ::role::prometheus::global
    include ::role::prometheus::services
    include ::role::prometheus::analytics
    include ::profile::prometheus::k8s
    include ::conftool::scripts # lint:ignore:wmf_styleguide

    # We only have a staging cluster in eqiad, don't poll it from both DCs
    if $::site == 'eqiad' {
        include ::profile::prometheus::k8s::staging
    }

    include ::profile::standard
    # TODO: use profile::lvs::realserver instead
    include ::lvs::realserver

    class { '::httpd':
        modules => ['proxy', 'proxy_http'],
    }
}