Puppet Class: profile::mariadb::monitor::prometheus

Defined in:
modules/profile/manifests/mariadb/monitor/prometheus.pp

Overview

FIXME: move node_exporter to standard and remove it from here when ready

Parameters:

  • mysql_group (Any)
  • mysql_role (Any)
  • mysql_shard (Any) (defaults to: '')
  • socket (Any) (defaults to: '/run/mysqld/mysqld.sock')


21
22
23
24
25
26
27
28
29
30
31
32
# File 'modules/profile/manifests/mariadb/monitor/prometheus.pp', line 21

class profile::mariadb::monitor::prometheus(
    $mysql_group,
    $mysql_role,
    $mysql_shard = '',
    $socket = '/run/mysqld/mysqld.sock',
    ) {

    include role::prometheus::node_exporter
    class { 'role::prometheus::mysqld_exporter':
        socket => $socket,
    }
}