From ef07b28529efb8a92ff9df50eaeecb7f139b96b6 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Mon, 24 Feb 2025 15:24:17 +0100 Subject: [PATCH] recommit for updates in build 35 --- doc/puppet_classes/cd_alloy_3A_3Aparams.html | 81 ++++++++++++++++---- 1 file changed, 68 insertions(+), 13 deletions(-) diff --git a/doc/puppet_classes/cd_alloy_3A_3Aparams.html b/doc/puppet_classes/cd_alloy_3A_3Aparams.html index 72b0141..b4ef51d 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Aparams.html +++ b/doc/puppet_classes/cd_alloy_3A_3Aparams.html @@ -198,6 +198,60 @@ +
  • + + ay_manage_loki + + + (boolean) + + + (defaults to: true) + + + — +
    +

    whether to manage log forwarding to loki

    +
    + +
  • + +
  • + + ay_manage_prom + + + (boolean) + + + (defaults to: true) + + + — +
    +

    whether to manage metric forwarding

    +
    + +
  • + +
  • + + ay_prom_url + + + (string) + + + (defaults to: 'https://prometheus.example.net/api/v1/write') + + + — +
    +

    the url where alloy will send metrics

    +
    + +
  • +
  • ay_log_targets @@ -206,10 +260,7 @@ (Any) - (defaults to: [ - '/var/log/messages', - '/var/log/secure', - ]) + (defaults to: ['/var/log/messages','/var/log/secure',])
  • @@ -225,9 +276,6 @@
     
     
    -11
    -12
    -13
     14
     15
     16
    @@ -254,10 +302,15 @@
     37
     38
     39
    -40
    +40 +41 +42 +43 +44 +45 -
    # File 'manifests/params.pp', line 11
    +        
    # File 'manifests/params.pp', line 14
     
     class cd_alloy::params (
     
    @@ -265,13 +318,15 @@ $reqpackages        = 'alloy',
     $pkg_ensure         = 'latest',
     
     # loki
    +$ay_manage_loki     = true,
     $ay_loki_url        = 'https://loki.example.net/loki/api/v1/push',
     $ay_loki_username   = '',
     $ay_loki_userpass   = '',
    -$ay_log_targets     = [
    -                      '/var/log/messages',
    -                      '/var/log/secure',
    -                      ],
    +$ay_log_targets     = ['/var/log/messages','/var/log/secure',],
    +
    +# prometheus
    +$ay_manage_prom     = true,
    +$ay_prom_url        = 'https://prometheus.example.net/api/v1/write',
     
     ) {