add option to include node exporter

This commit is contained in:
Arne Teuke
2025-06-13 16:05:16 +02:00
parent 2781df9d27
commit 7a1749a738
3 changed files with 14 additions and 2 deletions

View File

@@ -8,6 +8,8 @@
# @param [String] ay_loki_userpass the password to logon to loki
# @param [Boolean] ay_manage_loki whether to manage log forwarding to loki
# @param [Boolean] ay_manage_prom whether to manage metric forwarding
# @param [Boolean] ay_manage_ne whether to manage metric forwarding for
# the node exporter (external)
# @param [String] ay_prom_url the url where alloy will send metrics
# @param [Array] ay_log_targets the logging targets
# @summary Class contains all parameters for the alloy_cd module.
@@ -28,6 +30,9 @@ class alloy_cd::params (
Boolean $ay_manage_prom = true,
String $ay_prom_url = 'https://prometheus.example.net/api/v1/write',
# node exporter (external)
Boolean $ay_manage_ne = false,
) {
# service
$ay_service = 'alloy'