v0.37.2
This commit is contained in:
1 parent
f48843e934
commit
e2c8099d9c
64 files changed
+5354
-673
No files matched your search
@@ -155,6 +155,11 @@
|
||||
<input id="overview-inline-autofit" type="checkbox" checked>
|
||||
<span data-i18n="overviewLayoutAutoFit">Fit to screen</span>
|
||||
</label>
|
||||
<label class="overview-inline-autofit" id="overview-inline-manual-label"
|
||||
title="Blocks stay in place while dragging; the drop position is only marked">
|
||||
<input id="overview-inline-manual" type="checkbox">
|
||||
<span data-i18n="overviewLayoutManual">Arrange manually</span>
|
||||
</label>
|
||||
<button class="quiet" id="overview-inline-cancel" type="button"
|
||||
data-i18n="overviewLayoutInlineCancel">Cancel changes</button>
|
||||
</div>
|
||||
@@ -2054,6 +2059,9 @@
|
||||
tabindex="-1" type="button"></button><button aria-controls="settings-page-prometheus"
|
||||
aria-selected="false" data-i18n="prometheusTitle" data-settings-tab="prometheus"
|
||||
id="settings-tab-prometheus" role="tab" tabindex="-1" type="button"></button><button
|
||||
aria-controls="settings-page-alerts" aria-selected="false" data-i18n="alertSettingsTitle"
|
||||
data-settings-tab="alerts" id="settings-tab-alerts" role="tab" tabindex="-1"
|
||||
type="button"></button><button
|
||||
aria-controls="settings-page-administration" aria-selected="false"
|
||||
data-i18n="administration" data-settings-tab="administration"
|
||||
id="settings-tab-administration" role="tab" tabindex="-1" type="button"></button><button
|
||||
@@ -2546,10 +2554,9 @@
|
||||
<option value="allow" data-i18n="locationMethodAllow">Allow listed
|
||||
only</option>
|
||||
</select></label>
|
||||
<label><span data-i18n="globalMethodList">Methods (comma, space or newline
|
||||
separated)</span><textarea id="global-method-list" rows="2"
|
||||
<div class="settings-chip-field"><span data-i18n="globalMethodList">HTTP methods</span><textarea id="global-method-list" rows="2"
|
||||
maxlength="1024" spellcheck="false"
|
||||
placeholder="TRACE, TRACK"></textarea></label>
|
||||
placeholder="TRACE, TRACK"></textarea></div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="global-policy-section">
|
||||
@@ -3421,6 +3428,72 @@
|
||||
<pre class="metrics-preview" hidden="" id="prom-preview-output"></pre>
|
||||
</form>
|
||||
</div>
|
||||
<div aria-labelledby="settings-tab-alerts" class="settings-page"
|
||||
data-settings-page="alerts" hidden="" id="settings-page-alerts" role="tabpanel">
|
||||
<form class="card edit-form" id="alerts-form">
|
||||
<div class="card-heading">
|
||||
<h2 data-i18n="alertSettingsTitle">Alerts</h2><span class="pill live"
|
||||
data-i18n="hotApply">LIVE APPLY</span>
|
||||
</div>
|
||||
<p class="fine" data-i18n="alertSettingsHelp">Alerts computed from the current state.</p>
|
||||
<p class="docs-links"><a class="docs-link" data-i18n="alertSettingsDocs"
|
||||
href="/docs#doc=docs%2FMONITORING.md&section=alerts" rel="noopener noreferrer"
|
||||
target="_blank">Documentation</a></p>
|
||||
<section class="settings-section">
|
||||
<h3 class="subheading" data-i18n="alertSettingsGeneral">General</h3>
|
||||
<div class="switch-grid">
|
||||
<label class="check"><input id="alerts-enabled" type="checkbox" /><span
|
||||
data-i18n="alertSettingsEnabled">Alerts enabled</span></label>
|
||||
<label class="check"><input id="alerts-notifications" type="checkbox" /><span
|
||||
data-i18n="alertSettingsNotifications">Show notifications for new alerts</span></label>
|
||||
</div>
|
||||
<p class="fine" id="alerts-active" role="status"></p>
|
||||
</section>
|
||||
<section class="settings-section alerts-settings-group">
|
||||
<h3 class="subheading" data-i18n="alertSettingsCertificates">Certificates</h3>
|
||||
<label class="check"><input id="alerts-certificate-expiry" type="checkbox" /><span
|
||||
data-i18n="alertSettingsCertificateExpiry">Expired or expiring certificates</span></label>
|
||||
<div class="field-grid">
|
||||
<label><span data-i18n="alertSettingsWarningDays">Warning (days before expiry)</span><input
|
||||
id="alerts-certificate-warning" max="90" min="1" type="number" /></label>
|
||||
<label><span data-i18n="alertSettingsErrorDays">Error (days before expiry)</span><input
|
||||
id="alerts-certificate-error" max="89" min="0" type="number" /></label>
|
||||
</div>
|
||||
<div class="switch-grid">
|
||||
<label class="check"><input id="alerts-certificate-renewal" type="checkbox" /><span
|
||||
data-i18n="alertSettingsRenewal">Failed ACME renewals</span></label>
|
||||
<label class="check"><input id="alerts-acme-runtime" type="checkbox" /><span
|
||||
data-i18n="alertSettingsAcmeRuntime">ACME environment not ready</span></label>
|
||||
</div>
|
||||
</section>
|
||||
<section class="settings-section alerts-settings-group">
|
||||
<h3 class="subheading" data-i18n="alertSettingsResources">Resources</h3>
|
||||
<label class="check"><input id="alerts-file-descriptors" type="checkbox" /><span
|
||||
data-i18n="alertSettingsFileDescriptors">File descriptors of RustProxy</span></label>
|
||||
<div class="field-grid">
|
||||
<label><span data-i18n="alertSettingsWarningPercent">Warning (% of limit)</span><input
|
||||
id="alerts-fd-warning" max="99" min="50" type="number" /></label>
|
||||
<label><span data-i18n="alertSettingsErrorPercent">Error (% of limit)</span><input
|
||||
id="alerts-fd-error" max="100" min="51" type="number" /></label>
|
||||
</div>
|
||||
</section>
|
||||
<section class="settings-section alerts-settings-group">
|
||||
<h3 class="subheading" data-i18n="alertSettingsConfiguration">Configuration and updates</h3>
|
||||
<div class="switch-grid">
|
||||
<label class="check"><input id="alerts-geoip" type="checkbox" /><span
|
||||
data-i18n="alertSettingsGeoip">Country rules without a GeoIP database</span></label>
|
||||
<label class="check"><input id="alerts-prometheus" type="checkbox" /><span
|
||||
data-i18n="alertSettingsPrometheus">Prometheus exporter open without token</span></label>
|
||||
<label class="check"><input id="alerts-update" type="checkbox" /><span
|
||||
data-i18n="alertSettingsUpdate">New RustProxy version (information)</span></label>
|
||||
</div>
|
||||
<p class="fine"><span data-i18n="alertSettingsDockerHint">Docker alerts are configured in</span>
|
||||
<a href="/settings?tab=docker-agents" data-i18n="alertSettingsDockerLink">Settings → Docker agents</a>.</p>
|
||||
</section>
|
||||
<div class="form-actions"><button class="primary" data-i18n="apply"
|
||||
type="submit">Validate, save and apply</button></div>
|
||||
</form>
|
||||
</div>
|
||||
<div aria-labelledby="settings-tab-administration" class="settings-page"
|
||||
data-settings-page="administration" hidden="" id="settings-page-administration"
|
||||
role="tabpanel">
|
||||
|
||||
Reference in new issue
Block a user