<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pipelines on materialize-monitoring Documentation</title><link>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/</link><description>Recent content in Pipelines on materialize-monitoring Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/index.xml" rel="self" type="application/rss+xml"/><item><title>Authoring</title><link>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/authoring/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/authoring/</guid><description>&lt;h1 id="authoring-pipelines"&gt;Authoring Pipelines&lt;a class="anchor" href="#authoring-pipelines"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;This page covers the model and conventions for authoring alloy pipelines as YAML under &lt;code&gt;packages/alloy-pipelines/&lt;/code&gt;. The runtime aspects (label families, retention) live in &lt;a href="https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/logging/"&gt;Logging&lt;/a&gt; and &lt;a href="https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/metrics/"&gt;Metrics&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="pipeline-model"&gt;Pipeline model&lt;a class="anchor" href="#pipeline-model"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A pipeline is a YAML document that maps roughly 1:1 to an alloy config file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;description&lt;/span&gt;: |&lt;span style="color:#e6db74"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; What this pipeline does, why it exists, what it forwards to.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;logging&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;level&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;info&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;format&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;logfmt&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;blocks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;loki.process&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;label&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;input_processor&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;forward_to&lt;/span&gt;: [{&lt;span style="color:#f92672"&gt;ref&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;loki.write.gateway.receiver&amp;#34;&lt;/span&gt;}]
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;blocks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;stage.drop&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;older_than&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;12h&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;drop_counter_reason&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#34;backlog &amp;gt; 12hr&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;stage.match&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;selector&lt;/span&gt;: &lt;span style="color:#e6db74"&gt;&amp;#39;{app=&amp;#34;alloy&amp;#34;}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;blocks&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;stage.logfmt&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;mapping&lt;/span&gt;: { &lt;span style="color:#f92672"&gt;msg: msg, level&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;level }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Each entry in &lt;code&gt;blocks&lt;/code&gt; is a &lt;strong&gt;single-key object&lt;/strong&gt; whose key is either:&lt;/p&gt;</description></item><item><title>Metrics</title><link>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/metrics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/metrics/</guid><description>&lt;p&gt;TODO&lt;/p&gt;</description></item><item><title>Logging</title><link>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/logging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://materializeinc.github.io/materialize-monitoring/reference/internal/pipelines/logging/</guid><description>&lt;p&gt;TODO&lt;/p&gt;</description></item></channel></rss>