Puppet Class: profile::kafka::monitoring

Defined in:
modules/profile/manifests/kafka/monitoring.pp

Overview

class profile::kafka::cluster::monitoring

Tools to monitor and expose metrics about a Kafka cluster

Parameters:

  • config (Hash[String,Hash]) (defaults to: lookup('profile::kafka::monitoring::config'))
  • clusters (Array[String]) (defaults to: lookup('profile::kafka::monitoring::clusters'))
  • prometheus_nodes (Array[Stdlib::Host]) (defaults to: lookup('prometheus_nodes'))


5
6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/kafka/monitoring.pp', line 5

class profile::kafka::monitoring(
    Hash[String,Hash] $config             = lookup('profile::kafka::monitoring::config'),
    Array[String] $clusters               = lookup('profile::kafka::monitoring::clusters'),
    Array[Stdlib::Host] $prometheus_nodes = lookup('prometheus_nodes'),
) {

    profile::kafka::burrow { $clusters:
        monitoring_config => $config,
        prometheus_nodes  => $prometheus_nodes,
    }
}