<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>3. Visualization on Prometheus Basics Training</title><link>/docs/03/</link><description>Recent content in 3. Visualization on Prometheus Basics Training</description><generator>Hugo</generator><language>en</language><atom:link href="/docs/03/index.xml" rel="self" type="application/rss+xml"/><item><title>3.1 Tasks: Grafana intro</title><link>/docs/03/labs/31-default-dashboards/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/03/labs/31-default-dashboards/</guid><description>&lt;h3 id="task-311-have-a-look-at-the-default-team-dashboard">Task 3.1.1 Have a look at the default team dashboard&lt;/h3>
&lt;p>The Monitoring Stack provides a dashboard that shows you common aggregated metrics of your applications. You should see the dashboard as soon as you log in.&lt;/p>
&lt;p>Have a look at the &lt;a href="http://LOCALHOST:3000/d/HoxOa1aTMk1/" target="_blank" rel="noopener">provided dashboard&lt;/a>
.&lt;/p>
&lt;ul>
&lt;li>Select either the cluster &lt;code>caast01&lt;/code> or &lt;code>caasp01&lt;/code> to get metrics from applications running on these clusters&lt;/li>
&lt;/ul>
&lt;h3 id="task-312-have-a-look-at-the-default-team-namespace-dashboard">Task 3.1.2 Have a look at the default team namespace dashboard&lt;/h3>
&lt;p>The Monitoring Stack provides a &lt;a href="http://LOCALHOST:3000/d/HoxOa1aTMk2/" target="_blank" rel="noopener">dashboard&lt;/a>
 that shows you metrics of your applications.&lt;/p></description></item><item><title>3.1 Tasks: Grafana intro</title><link>/docs/03/labs/31/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/03/labs/31/</guid><description>&lt;h3 id="task-311-install-grafana">Task 3.1.1: Install Grafana&lt;/h3>
&lt;p>Similar to the basic setup, we are just going to update our configuration of the ArgoCD application to install and create our Grafana instance. Update your monitoring application (&lt;code>charts/user-monitoring/values.yaml&lt;/code>) and update the &lt;code>grafana.enabled&lt;/code> flag to &lt;code>true&lt;/code>:&lt;/p>
&lt;p>&lt;code>charts/user-monitoring/values.yaml&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">user&lt;/span>: &lt;span style="color:#ae81ff">&amp;lt;user&amp;gt;&lt;/span> &lt;span style="color:#75715e"># Replace me&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># prometheus&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">prometheus&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># thanos-query&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">query&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># grafana&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">grafana&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">true&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># blackboxexporter&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">blackboxexporter&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># pushgateway&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">pushgateway&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># alertmanager&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">alertmanager&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># thanos-ruler&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">ruler&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">enabled&lt;/span>: &lt;span style="color:#66d9ef">false&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Verify the installation and sync process in the &lt;a href="https://argocd.training.cluster.acend.ch" target="_blank" rel="noopener">ArgoCD UI&lt;/a>
.
When the application is synchronized successfully navigate to your freshly created Grafana instance: &lt;a href="https://&amp;amp;lt;user&amp;amp;gt;-grafana.training.cluster.acend.ch" target="_blank" rel="noopener">https://&amp;lt;user&amp;gt;-grafana.training.cluster.acend.ch&lt;/a>
. Use the admin account to login in. Skip the password change.&lt;/p></description></item><item><title>3.2 Tasks: Grafana dashboards</title><link>/docs/03/labs/32/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/03/labs/32/</guid><description>&lt;h3 id="task-321-import-a-dashboard">Task 3.2.1: Import a dashboard&lt;/h3>
&lt;p>As a first Task we import an existing dashboard to our grafana. There is a huge collection of predefined dashboards available on &lt;a href="https://grafana.com/grafana/dashboards" target="_blank" rel="noopener">https://grafana.com/grafana/dashboards&lt;/a>
.&lt;/p>
&lt;p>In this task we learn how to import existing dashboards, which we can also use as reference to write our own queries and dashboards.&lt;/p>
&lt;p>Choose one or more of the preexisting dashboards from &lt;a href="https://grafana.com/grafana/dashboards" target="_blank" rel="noopener">https://grafana.com/grafana/dashboards&lt;/a>
 and import them into your grafana. Use the daterange, interval picker on the top right to change the timerange (between &lt;code>5 minutes&lt;/code> and &lt;code>10 minutes&lt;/code>) of the displayed mertics.&lt;/p></description></item></channel></rss>