Recommit for updates in build 43
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
<p>manage service</p>
|
<p>manage service</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>Configurable options: - –storage.tsdb.retention.time via <code>$ps_retention_time</code> - –storage.tsdb.retention.size via <code>$ps_retention_size</code> - –storage.tsdb.wal-segment-size via <code>ps_wal_seg_size</code> - –storage.tsdb.min-block-duration via <code>ps_min_block_dur</code> - –storage.tsdb.max-block-duration via <code>ps_max_block_dur</code> - authentication user via <code>$ps_auth_user</code> - authentication password via <code>$ps_auth_pass</code> - web authentication password via <code>$ps_web_pass</code> ( different format required) - MemoryMax via <code>ps_max_mem</code> - MemoryHigh via <code>ps_high_mem</code> - MemorySwapMax via <code>ps_swap_mem</code> - OOMScoreAdjust via <code>ps_oom_score</code> - GOMAXPROCS via <code>ps_max_procs</code></p>
|
<p>Configurable options: - –storage.tsdb.retention.time via <code>$ps_retention_time</code> - –storage.tsdb.retention.size via <code>$ps_retention_size</code> - –storage.tsdb.wal-segment-size via <code>ps_wal_seg_size</code> - –storage.tsdb.min-block-duration via <code>ps_min_block_dur</code> - –storage.tsdb.max-block-duration via <code>ps_max_block_dur</code> - authentication user via <code>$ps_auth_user</code> - authentication password via <code>$ps_auth_pass</code> - web authentication password via <code>$ps_web_pass</code> ( different format required) - MemoryMax via <code>ps_max_mem</code> - MemoryHigh via <code>ps_high_mem</code> - MemorySwapMax via <code>ps_swap_mem</code> - OOMScoreAdjust via <code>ps_oom_score</code> - GOMAXPROCS via <code>ps_max_procs</code> - external remote write ( writing to a remote instance like pg-adapter): - <code>ps_write_external</code> true enables it - <code>ps_external_url</code> must be a valid full url - <code>ps_auth_ext_user</code>must be a valid user - <code>ps_auth_ext_pass</code>must be a valid password</p>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
<p>manage service</p>
|
<p>manage service</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>Configurable options: - –storage.tsdb.retention.time via <code>$ps_retention_time</code> - –storage.tsdb.retention.size via <code>$ps_retention_size</code> - –storage.tsdb.wal-segment-size via <code>ps_wal_seg_size</code> - –storage.tsdb.min-block-duration via <code>ps_min_block_dur</code> - –storage.tsdb.max-block-duration via <code>ps_max_block_dur</code> - authentication user via <code>$ps_auth_user</code> - authentication password via <code>$ps_auth_pass</code> - web authentication password via <code>$ps_web_pass</code> ( different format required) - MemoryMax via <code>ps_max_mem</code> - MemoryHigh via <code>ps_high_mem</code> - MemorySwapMax via <code>ps_swap_mem</code> - OOMScoreAdjust via <code>ps_oom_score</code> - GOMAXPROCS via <code>ps_max_procs</code></p>
|
<p>Configurable options: - –storage.tsdb.retention.time via <code>$ps_retention_time</code> - –storage.tsdb.retention.size via <code>$ps_retention_size</code> - –storage.tsdb.wal-segment-size via <code>ps_wal_seg_size</code> - –storage.tsdb.min-block-duration via <code>ps_min_block_dur</code> - –storage.tsdb.max-block-duration via <code>ps_max_block_dur</code> - authentication user via <code>$ps_auth_user</code> - authentication password via <code>$ps_auth_pass</code> - web authentication password via <code>$ps_web_pass</code> ( different format required) - MemoryMax via <code>ps_max_mem</code> - MemoryHigh via <code>ps_high_mem</code> - MemorySwapMax via <code>ps_swap_mem</code> - OOMScoreAdjust via <code>ps_oom_score</code> - GOMAXPROCS via <code>ps_max_procs</code> - external remote write ( writing to a remote instance like pg-adapter): - <code>ps_write_external</code> true enables it - <code>ps_external_url</code> must be a valid full url - <code>ps_auth_ext_user</code>must be a valid user - <code>ps_auth_ext_pass</code>must be a valid password</p>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -502,6 +502,78 @@
|
|||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>reduce parallel WAL replay workers</p>
|
<p>reduce parallel WAL replay workers</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ps_write_external</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>Boolean</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>whether to allow remote postgres</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ps_auth_ext_user</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'changeme'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>user for writing to extern instance</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ps_auth_ext_pass</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'changeme'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>password for writing to extern instance</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ps_external_url</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'http://change.local'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>the full url for the remote write point</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -517,10 +589,6 @@
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
28
|
|
||||||
29
|
|
||||||
30
|
|
||||||
31
|
|
||||||
32
|
32
|
||||||
33
|
33
|
||||||
34
|
34
|
||||||
@@ -575,10 +643,22 @@
|
|||||||
83
|
83
|
||||||
84
|
84
|
||||||
85
|
85
|
||||||
86</pre>
|
86
|
||||||
|
87
|
||||||
|
88
|
||||||
|
89
|
||||||
|
90
|
||||||
|
91
|
||||||
|
92
|
||||||
|
93
|
||||||
|
94
|
||||||
|
95
|
||||||
|
96
|
||||||
|
97
|
||||||
|
98</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 28</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 32</span>
|
||||||
|
|
||||||
class prometheus_cd::params (
|
class prometheus_cd::params (
|
||||||
|
|
||||||
@@ -597,11 +677,15 @@ class prometheus_cd::params (
|
|||||||
String $ps_fw_prefix = '50',
|
String $ps_fw_prefix = '50',
|
||||||
String $ps_main_port = '9090',
|
String $ps_main_port = '9090',
|
||||||
|
|
||||||
# auth
|
# auth prometheus
|
||||||
String $ps_auth_user = 'changeme',
|
String $ps_auth_user = 'changeme',
|
||||||
String $ps_auth_pass = 'changeme',
|
String $ps_auth_pass = 'changeme',
|
||||||
String $ps_web_pass = 'changeme',
|
String $ps_web_pass = 'changeme',
|
||||||
|
|
||||||
|
# auth remote
|
||||||
|
String $ps_auth_ext_user = 'changeme',
|
||||||
|
String $ps_auth_ext_pass = 'changeme',
|
||||||
|
|
||||||
# storage
|
# storage
|
||||||
String $ps_retention_time = '15d',
|
String $ps_retention_time = '15d',
|
||||||
String $ps_retention_size = '20GB',
|
String $ps_retention_size = '20GB',
|
||||||
@@ -616,6 +700,10 @@ class prometheus_cd::params (
|
|||||||
String $ps_oom_score = '500',
|
String $ps_oom_score = '500',
|
||||||
String $ps_max_procs = '1',
|
String $ps_max_procs = '1',
|
||||||
|
|
||||||
|
# remote write external
|
||||||
|
Boolean $ps_write_external = false,
|
||||||
|
String $ps_external_url = 'http://change.local',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# defaults
|
# defaults
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $facts['networking']['fqdn']
|
||||||
|
|||||||
Reference in New Issue
Block a user