<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Monitoring - Tag - Lorenzo's Blog</title><link>https://www.k8s.it/tags/monitoring/</link><description>Monitoring - Tag - Lorenzo's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 02 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.k8s.it/tags/monitoring/" rel="self" type="application/rss+xml"/><item><title>Monitoring Contentful Usage — Building a Prometheus Exporter Because the UI Won't Tell You</title><link>https://www.k8s.it/posts/monitoring-contentful-usage-with-a-prometheus-exporter/</link><pubDate>Tue, 02 Jun 2026 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/monitoring-contentful-usage-with-a-prometheus-exporter/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/monitoring-contentful-usage-with-prometheus-exporter/image-contentful.png" referrerpolicy="no-referrer">
            </div><h3 id="table-of-contents">Table of Contents</h3>
<ul>
<li>Introduction</li>
<li>The Problem</li>
<li>The Architecture</li>
<li>How It Works</li>
<li>CLI Mode — One-Shot Reports</li>
<li>Prometheus Mode — Continuous Monitoring</li>
<li>Deploying on Kubernetes with Helm</li>
<li>Grafana Dashboards</li>
<li>Security Considerations</li>
<li>Conclusion</li>
<li>Reflections</li>
</ul>
<p>Here we are. If you&rsquo;ve ever managed a Contentful space at scale — I mean real scale, with thousands of entries, a dozen environments, and a team that publishes hourly — you&rsquo;ve hit the wall. The Contentful web app shows you&hellip; not much. A few dashboard widgets, some high-level numbers, but nothing you can export, alert on, or trend over time.</p>]]></description></item><item><title>Kubernetes nstats</title><link>https://www.k8s.it/posts/kubernetes-nstats/</link><pubDate>Mon, 22 Feb 2021 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/kubernetes-nstats/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/kubernetes-nstats/Screenshot-2021-02-22-at-18.16.33.png" referrerpolicy="no-referrer">
            </div><p></p>
<p>Here we go&hellip; another weird sidecar container.</p>
<h2 id="motivations">Motivations</h2>
<p>I&rsquo;ve always been interested in the observability area. There are many aspects that improve performances and fix bugs. One of the most interesting is network usage.</p>
<p>This is not about network issues:</p>
<p></p>
<p>It&rsquo;s about understanding <em>where</em> bandwidth is actually going.</p>
<p>You&rsquo;re probably used to seeing something like this for your VMs:</p>]]></description></item><item><title>Ambient Sensor for Mere Mortal</title><link>https://www.k8s.it/posts/ambient-sensor-for-mere-mortal/</link><pubDate>Sun, 24 Jan 2021 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/ambient-sensor-for-mere-mortal/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/ambient-sensor-for-mere-mortal/Screenshot-2021-01-24-at-21.39.16.png" referrerpolicy="no-referrer">
            </div><p></p>
<p>In the home automation era, I wanted to understand how simple thermal sensors actually work — not just buy a commercial solution and plug it in, but build the whole thing from scratch. Here&rsquo;s what I put together.</p>
<h2 id="what-we-need">What We Need</h2>
<ul>
<li>ESP8266</li>
<li>DHT22</li>
<li>USB power supply</li>
<li>InfluxDB</li>
<li>Grafana</li>
</ul>
<h2 id="hardware">Hardware</h2>
<p>I initially considered Arduino but followed a colleague&rsquo;s suggestion to use NodeMCU instead. NodeMCU is an open source platform developed for IoT where you can compile firmware with the sensors you need. Its primary advantage is Lua support, which is significantly simpler than Arduino&rsquo;s C implementation for this kind of work.</p>]]></description></item><item><title>The Monitoring Paper</title><link>https://www.k8s.it/posts/the-monitoring-paper/</link><pubDate>Tue, 05 Jan 2021 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/the-monitoring-paper/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/the-monitoring-paper/Screenshot-2021-01-05-at-17.47.24.png" referrerpolicy="no-referrer">
            </div><p>Contrary to popular belief, monitoring an infrastructure is the opposite of just having some metrics about applications and network.</p>
<p>There are many excellent resources on this topic. One of the most interesting is just a few pages from Google — <a href="https://static.googleusercontent.com/media/sre.google/it//static/pdf/art-of-slos-slides.pdf" target="_blank" rel="noopener noreffer ">the art of SLOs</a>. I took the book version from a Google on-site deep dive.</p>
<p>To structure this properly, I want to use four simple statements:</p>
<ul>
<li><strong>WHAT</strong></li>
<li><strong>WHY</strong></li>
<li><strong>WHO</strong></li>
<li><strong>HOW</strong></li>
</ul>
<h2 id="what">WHAT</h2>
<p>This is probably the main argument we&rsquo;ll discuss here.</p>]]></description></item><item><title>Kubernetes API Gateway</title><link>https://www.k8s.it/posts/kubernetes-apigw/</link><pubDate>Sun, 08 Nov 2020 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/kubernetes-apigw/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/kubernetes-apigw/Screenshot-2020-11-20-at-22.20.25-2.png" referrerpolicy="no-referrer">
            </div><p></p>
<p>It&rsquo;s time to talk about the API gateway.</p>
<p>In a modern infrastructure — especially in a microservices environment — you probably know what I&rsquo;m referring to. But it&rsquo;s worth being explicit about it:</p>
<blockquote>
<p>&ldquo;An API gateway takes all API calls from clients, then routes them to the appropriate microservice with request routing, composition, and protocol translation. Typically it handles a request by invoking multiple microservices and aggregating the results, to determine the best path.&rdquo;</p>]]></description></item><item><title>Docker-latency — The Network Blaming Tool</title><link>https://www.k8s.it/posts/docker-latency/</link><pubDate>Tue, 11 Aug 2020 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/docker-latency/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/docker-latency/grafana_home.png" referrerpolicy="no-referrer">
            </div><h2 id="aka-the-network-blaming-tool">aka the network blaming tool</h2>
<p>Every network admin hears it. &ldquo;The VPN is slow.&rdquo; &ldquo;I can&rsquo;t connect to $something.&rdquo; &ldquo;It worked yesterday.&rdquo;</p>
<p>The problem: these complaints are vague. Is it the provider? A T2/T3 routing issue? The user&rsquo;s local network? Without data, you&rsquo;re guessing.</p>
<p>This tool collects data.</p>
<h2 id="how-to-understand-if-your-network-is-really-slow">How to Understand if Your Network is Really Slow</h2>
<p>Deploy a pre-configured Grafana stack that monitors internet connection statistics. Select the endpoints that matter — VPN gateways, datacenter public IPs, main DNS servers — and get a continuous picture of latency and packet loss.</p>]]></description></item><item><title>Kubernetes for Mere Mortals</title><link>https://www.k8s.it/posts/kubernetes-for-mere-mortals/</link><pubDate>Tue, 10 Apr 2018 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/kubernetes-for-mere-mortals/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/kubernetes-for-mere-mortals/k8s.arm-lg.jpeg" referrerpolicy="no-referrer">
            </div><h2 id="hardware-setup">Hardware Setup</h2>
<p>Here we are — a homemade Kubernetes cluster built on ARM hardware. No cloud credits. No expensive servers. Just OrangePis and a USB hub.</p>
<p>Bill of materials:</p>
<ul>
<li>1x Anker 60W PowerPort 6 USB hub (power for all nodes)</li>
<li>4x Orange Pi Plus 2E single-board computers</li>
</ul>
<p></p>
<p></p>
<p>Total cost: well under what a single month of cloud compute would run.</p>]]></description></item></channel></rss>