<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Algolia - Tag - Lorenzo's Blog</title><link>https://www.k8s.it/tags/algolia/</link><description>Algolia - Tag - Lorenzo's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 26 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.k8s.it/tags/algolia/" rel="self" type="application/rss+xml"/><item><title>Algolia prometheus exporter</title><link>https://www.k8s.it/posts/algolia-prometheus-exporter/</link><pubDate>Tue, 26 May 2026 00:00:00 +0000</pubDate><author>Lorenzo Girardi</author><guid>https://www.k8s.it/posts/algolia-prometheus-exporter/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/Gemini_Generated_Image_u9oq1ru9oq1ru9oq.png" referrerpolicy="no-referrer">
            </div><h1 id="algolia-usage-exporter--a-case-study-in-ai-assisted-tooling">Algolia Usage Exporter — A Case Study in AI-Assisted Tooling</h1>
<h2 id="what-is-this">What is this?</h2>
<p>A lightweight Prometheus exporter that collects usage and infrastructure metrics from the Algolia search API and exposes them at <code>/metrics</code> for Prometheus / Datadog scraping.</p>
<p>It runs as a standalone HTTP server (single binary via Docker/Podman), requires minimal configuration (just two API keys), and exports metrics like:</p>
<ul>
<li><strong>Usage statistics</strong>: search operations, records, processing time, QPS, write operations</li>
<li><strong>Infrastructure metrics</strong>: CPU, RAM, SSD utilization, build times (Premium plan only)</li>
<li><strong>Health signals</strong>: scrape success status, timestamps</li>
</ul>
<p>The entire project lives in a single Python package with ~50KB of code, a Helm chart for Kubernetes deployment, and full test coverage across unit, integration, and e2e layers.</p>]]></description></item></channel></rss>