<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Observability on Krypton Runtime</title><link>https://www.kryptonhq.com/docs/operations/observability/</link><description>Recent content in Observability on Krypton Runtime</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.kryptonhq.com/docs/operations/observability/index.xml" rel="self" type="application/rss+xml"/><item><title>Metrics</title><link>https://www.kryptonhq.com/docs/operations/observability/metrics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.kryptonhq.com/docs/operations/observability/metrics/</guid><description>&lt;p&gt;Every Krypton component emits Prometheus metrics. The chart ships
&lt;code&gt;ServiceMonitor&lt;/code&gt; + &lt;code&gt;PodMonitor&lt;/code&gt; resources gated behind opt-in flags so
the integration is one &lt;code&gt;--set&lt;/code&gt; away.&lt;/p&gt;
&lt;h2 id="quick-setup-with-kube-prometheus-stack"&gt;Quick setup with kube-prometheus-stack&lt;/h2&gt;
&lt;p&gt;If you don&amp;rsquo;t already have Prometheus Operator on the cluster:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;helm repo update
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;helm install prom prometheus-community/kube-prometheus-stack &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --namespace monitoring --create-namespace
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then enable Krypton&amp;rsquo;s monitors:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;helm upgrade --install krypton oci://ghcr.io/kryptonhq/charts/krypton &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --namespace krypton-system --create-namespace &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --set serviceMonitor.enabled&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#204a87"&gt;true&lt;/span&gt; &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --set podMonitor.enabled&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#204a87"&gt;true&lt;/span&gt; &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --set serviceMonitor.labels.release&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;prom &lt;span style="color:#4e9a06"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --set podMonitor.labels.release&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;prom
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;labels.release=prom&lt;/code&gt; matches &lt;code&gt;kube-prometheus-stack&lt;/code&gt;&amp;rsquo;s default
&lt;code&gt;serviceMonitorSelector&lt;/code&gt; (replace &lt;code&gt;prom&lt;/code&gt; with your stack&amp;rsquo;s release
name). Without it, the operator&amp;rsquo;s Prometheus instance ignores the new
monitors.&lt;/p&gt;</description></item></channel></rss>