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

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

Overview

Parameters:

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


1
2
3
4
5
6
7
8
9
10
11
# File 'modules/profile/manifests/mariadb/monitor/prometheus.pp', line 1

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

    include passwords::prometheus

    prometheus::mysqld_exporter { 'default':
        client_password => $passwords::prometheus::db_pass,
        client_socket   => $socket,
    }
}