Page MenuHomePhabricator
Paste P12044

(An Untitled Masterwork)
ActivePublic

Authored by Kormat on Mon, Jul 27, 8:12 AM.
mariadb
profile profile::mariadb::monitor::prometheus
modules/profile/manifests/mariadb/monitor/prometheus.pp
Uses role::prometheus::mysqld_exporter
prometheus
role role::prometheus::mysqld_exporter
modules/role/manifests/prometheus/mysqld_exporter.pp
Uses prometheus::mysqld_exporter
Sets up ferm entry for 9104.
define prometheus::mysqld_exporter
modules/prometheus/manifests/mysqld_exporter.pp
Installs package
Creates /var/lib/prometheus
Manages /var/lib/prometheus/.my.cnf
Sets exporter default arguments
Manages /etc/default/prometheus-mysqld-exporter
Starts service
define profile::prometheus::mysqld_exporter_instance
modules/profile/manifests/prometheus/mysqld_exporter_instance.pp
Multi-instance exporter profile
Uses prometheus::mysqld_exporter::instance
Sets up ferm entry
define prometheus::mysqld_exporter::instance
modules/prometheus/manifests/mysqld_exporter/instance.pp
Uses prometheus::mysqld_exporter::common
Basically multi-instance version of prometheus::mysqld_exporter
class prometheus::mysqld_exporter::common
modules/prometheus/manifests/mysqld_exporter/common.pp
Installs package
Creates /etc/default/prometheus
Manages multi-instance systemd service

Event Timeline