Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -89,28 +89,26 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <code>statsd</code> component makes it possible to transfer all state changes to an external <a href="https://github.com/etsy/statsd">StatsD</a> instance.</p>
|
||||
<p>The <code class="highlighter-rouge">statsd</code> component makes it possible to transfer all state changes to an external <a href="https://github.com/etsy/statsd">StatsD</a> instance.</p>
|
||||
|
||||
<p>To use the <code>statsd</code> component in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To use the <code class="highlighter-rouge">statsd</code> component in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">statsd</span>:
|
||||
<span class="key">host</span>: <span class="string"><span class="content">DB_HOST_IP_ADDRESS</span></span>
|
||||
<span class="key">port</span>: <span class="string"><span class="content">20000</span></span>
|
||||
<span class="key">prefix</span>: <span class="string"><span class="content">DB_TO_STORE_EVENTS</span></span>
|
||||
<span class="key">rate</span>: <span class="string"><span class="content">1</span></span>
|
||||
<span class="key">log_attributes</span>: <span class="string"><span class="content">true</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">statsd</span><span class="pi">:</span>
|
||||
<span class="s">host</span><span class="pi">:</span> <span class="s">DB_HOST_IP_ADDRESS</span>
|
||||
<span class="s">port</span><span class="pi">:</span> <span class="s">20000</span>
|
||||
<span class="s">prefix</span><span class="pi">:</span> <span class="s">DB_TO_STORE_EVENTS</span>
|
||||
<span class="s">rate</span><span class="pi">:</span> <span class="s">1</span>
|
||||
<span class="s">log_attributes</span><span class="pi">:</span> <span class="s">true</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>host</strong> (<em>Optional</em>): IP address of your StatsD host, eg. 192.168.1.10. Defaults to <code>localhost</code>.</li>
|
||||
<li><strong>host</strong> (<em>Optional</em>): IP address of your StatsD host, eg. 192.168.1.10. Defaults to <code class="highlighter-rouge">localhost</code>.</li>
|
||||
<li><strong>port</strong> (<em>Optional</em>): Port to use. Defaults to 8125.</li>
|
||||
<li><strong>prefix</strong> (<em>Optional</em>): Prefix to use. Defaults to <code>hass</code>.</li>
|
||||
<li><strong>prefix</strong> (<em>Optional</em>): Prefix to use. Defaults to <code class="highlighter-rouge">hass</code>.</li>
|
||||
<li><strong>rate</strong> (<em>Optional</em>): The sample rate. Defaults to 1.</li>
|
||||
<li><strong>log_attributes</strong> (<em>Optional</em>): Log state and attribute changes. This changes the default stats path.</li>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue