Skip to content

Commit

Permalink
Deployed 2d0db0e91 to latest with MkDocs 1.6.1 and mike 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoose-im committed Oct 18, 2024
1 parent ffe7c67 commit 9c5a0d7
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 260 deletions.
6 changes: 3 additions & 3 deletions latest/configuration/instrumentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4453,7 +4453,7 @@ <h3 id="instrumentationexometerreportgraphiteenv_prefix"><code>instrumentation.e
<h2 id="log-handler-options">Log handler options<a class="headerlink" href="#log-handler-options" title="Permanent link">&para;</a></h2>
<h3 id="instrumentationloglevel"><code>instrumentation.log.level</code><a class="headerlink" href="#instrumentationloglevel" title="Permanent link">&para;</a></h3>
<ul>
<li><strong>Syntax:</strong> string, one of <code>"none"</code>, <code>"emergency"</code>, <code>"alert"</code>, <code>"critical"</code>, <code>"error"</code>, <code>"warning"</code>, <code>"notice"</code>, <code>"info"</code>, <code>"debug"</code>, <code>"all"</code>.</li>
<li><strong>Syntax:</strong> string, one of <code>"emergency"</code>, <code>"alert"</code>, <code>"critical"</code>, <code>"error"</code>, <code>"warning"</code>, <code>"notice"</code>, <code>"info"</code>, <code>"debug"</code>, <code>"all"</code>.</li>
<li><strong>Default:</strong> <code>"debug"</code></li>
<li><strong>Example:</strong> <code>loglevel = "error"</code></li>
</ul>
Expand All @@ -4466,14 +4466,14 @@ <h3 id="instrumentationloglevel"><code>instrumentation.log.level</code><a class=
The main purpose of this option is debugging, and is not recommended for production systems, thus the default <code>"debug"</code> value.</p>
</div>
<h2 id="example-prometheus-configuration">Example Prometheus configuration<a class="headerlink" href="#example-prometheus-configuration" title="Permanent link">&para;</a></h2>
<p>This configuration enables <code>prometheus</code>, and <code>log</code> handlers:
<p>This configuration enables <code>prometheus</code>, and <code>log</code> handlers, setting the periodic measurement (probe) interval to 60 seconds:
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span>
<span class="normal">4</span>
<span class="normal">5</span>
<span class="normal">6</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">[instrumentation]</span>
<span class="w"> </span><span class="n">probe_interval</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">10_000</span>
<span class="w"> </span><span class="n">probe_interval</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">60</span>

<span class="k">[instrumentation.prometheus]</span>

Expand Down
Loading

0 comments on commit 9c5a0d7

Please sign in to comment.