recommit for updates in build 35
This commit is contained in:
@@ -198,6 +198,60 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ay_manage_loki</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>whether to manage log forwarding to loki</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ay_manage_prom</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>whether to manage metric forwarding</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ay_prom_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'https://prometheus.example.net/api/v1/write'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the url where alloy will send metrics</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ay_log_targets</span>
|
||||
@@ -206,10 +260,7 @@
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>[
|
||||
'/var/log/messages',
|
||||
'/var/log/secure',
|
||||
]</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>['/var/log/messages','/var/log/secure',]</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
@@ -225,9 +276,6 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
@@ -254,10 +302,15 @@
|
||||
37
|
||||
38
|
||||
39
|
||||
40</pre>
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 11</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 14</span>
|
||||
|
||||
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',
|
||||
|
||||
) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user