<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Heiko Voigt on Medium]]></title>
        <description><![CDATA[Stories by Heiko Voigt on Medium]]></description>
        <link>https://medium.com/@hvoigt.net?source=rss-4b76ae74ce5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*R4CaqPMn7VLS2M5E</url>
            <title>Stories by Heiko Voigt on Medium</title>
            <link>https://medium.com/@hvoigt.net?source=rss-4b76ae74ce5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 17:32:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hvoigt.net/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Scaling Observability: Jimdo’s Journey Towards United Telemetry]]></title>
            <link>https://www.jimdoverse.com/scaling-observability-jimdos-journey-towards-united-telemetry-7864603a8d64?source=rss-4b76ae74ce5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7864603a8d64</guid>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[jimdo]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[prometheus]]></category>
            <dc:creator><![CDATA[Heiko Voigt]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 08:47:51 GMT</pubDate>
            <atom:updated>2025-11-26T11:43:36.703Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>At 2:35 AM on a Thursday in June, the </em><em>DashApiUnhealthy alert fired. An on-call engineer groggily opened their laptop to find users randomly seeing error pages across the whole system. The investigation began: metrics on Grafana Dashboards showed elevated latency, logs in logz.io revealed ImagePullBackOff errors, but the root cause wasn&#39;t clear. Switch to another tab for trace data in Honeycomb. Back to Grafana for DNS metrics. Open another window for CoreDNS logs in logz.io.</em></blockquote><blockquote><em>Six and a half hours. Four engineers. Multiple browser tabs across three different observability platforms.</em></blockquote><blockquote><em>The culprit? Two CoreDNS instances scheduled on the same node, hitting AWS VPC DNS resolver rate limits. But discovering this required piecing together evidence scattered across disconnected systems: DNS query rates in Prometheus, NXDOMAIN patterns in logz.io logs, and application trace data in Honeycomb. By the time the team correlated everything and manually terminated the duplicate pod at 8:33 AM, precious hours had been lost to tool-switching rather than problem-solving.</em></blockquote><p>Like many teams running Kubernetes at scale, we reached a point where our observability stack was no longer enough to quickly investigate and solve issues in production. The tools were quite fragmented: logs were sent to a 3rd party, metrics and alerts lived in our self-hosted Prometheus stack, and tracing was sent to another provider. All these different systems were not connected, and it was hard to correlate data from different sources.</p><p>This is the story of how we migrated from a self-managed observability setup to Grafana Cloud — what motivated us, how we executed the migration, and what we’ve learned along the way.</p><h3>The Situation Before</h3><p>Our monitoring stack was fairly standard but not coherent: <strong>Prometheus for metrics</strong>, <strong>logz.io</strong> for logs, <strong>Honeycomb</strong> for tracing, and a self-hosted <strong>Grafana for dashboards</strong>. Alertmanager was used to send alerts to PagerDuty. It worked well in the beginning, but as the system grew and we wanted to relate data from different sources, the cracks began to show:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DTm8sSP67vT6wr5iSGOMoQ.png" /></figure><ul><li><strong>Fragmented data sources:</strong> switching between multiple UIs to correlate logs, metrics, and traces was slow and error-prone. E.g., selecting the same time frame in different tools burns precious brainpower.</li><li><strong>Low retention:</strong> due to cost constraints, we had to keep log retention periods to 7 days, limiting our ability to investigate historical issues.</li><li><strong>Expensive log shipping:</strong> The component forwarding logs needed to modify all logs into a format that logz.io could understand, consuming significant resources.</li></ul><h3>Choosing the right vendor</h3><p>We evaluated multiple vendors and wanted a solution that would let us:</p><ul><li>One system to relate all the different data sources in one place: metrics, logs, traces, dashboards, frontend observability and alerting.</li><li>Use familiar open-source tools and queries.</li><li>Scale seamlessly with growing workloads.</li><li>Remove the cost of self-hosting and maintaining the infrastructure.</li><li>Be able to store all the configuration in code.</li><li>Retain metrics and logs for longer periods without breaking the bank.</li><li>Ideally buy a SaaS solution that could be complemented with self-hosted components if needed.</li><li>Cost-effective data transfer</li></ul><p>Grafana Cloud checked all these boxes. It gave us managed Prometheus-compatible metrics, logs via hosted Loki, traces, and a fully managed Grafana UI. Plus, we could import all our existing dashboards and alerting rules with minimal changes.</p><p><strong>Cool fact which matters for platform engineers</strong>: Grafana Cloud also offers a generous free tier, which allows you to try it at home or familiarize yourself with it using your homelab before using it for production workloads in your company. This low barrier to entry makes it easier to build skills and advocate for adoption.</p><h3>The Evaluation Process</h3><p>We assembled a small team from all corners of the organization: SRE, Platform engineers, Backend and Frontend developers. We ran a proof-of-value over 2 weeks, connecting our production clusters and sending all our metrics and logs to Grafana Cloud while keeping our existing setup intact.</p><p>This was made very simple as we could just install the Grafana helm chart and a lot just worked out of the box. E.g., our existing ServiceMonitors from Prometheus were automatically discovered and scraped. We also set up Grafana Alloy to ship logs from our Kubernetes clusters to Grafana Cloud.</p><p>Additionally, the Grafana team was very supportive and generous with account limits unlike some other vendors. So during the evaluation we could just send a lot of unfiltered data without worrying about costs to evaluate the platform and optimize our real setup later.</p><p><strong>Standout support experience:</strong> When we faced an issue with how Grafana Cloud would identify our applications, the team was incredibly responsive. This was a true collaboration: we made a simple modification to our setup while the Grafana team extended their collection component to support our use case. They quickly analyzed the problem, routed it to the correct internal teams, and deployed a solution before we even finished the evaluation phase. The final solution was elegant and Kubernetes-native, using Kubernetes recommended labels for application identification. This developer-first approach (rather than just satisfying managers) gave us confidence in the long-term partnership.</p><h3>The Migration Journey</h3><p><strong>Timeline:</strong> The complete migration took approximately 9 months from evaluation to full cutover.</p><p>We approached the migration in phases:</p><h3>1. Preparation</h3><p>We are running a platform as a service on which developers deploy their services. The first step was to move the platform and all its components to fully connect to Grafana Cloud. During the evaluation we had quite relaxed limits regarding the data we sent which now needed optimization.</p><p>Additionally, we migrated all platform alerts and dashboards. A migration documentation was created, and our migrations also served as an example for all teams.</p><h3>2. Dual Running</h3><p>We started sending metrics and logs both to our existing setup and Grafana Cloud. This gave us some time to move step by step. E.g., we migrated the full logs setup and configuration first before moving on to metrics. This allowed us to cancel the contract with the logz.io provider early, delivering immediate cost savings.</p><p>This let us compare results, fine-tune scrape configurations, and validate alerting behavior without risking production visibility.</p><h3>3. Team-by-Team Rollout</h3><p>Once all the basics were installed and alerting was enabled, we were confident to let the rest of the teams migrate. We pointed teams to the Grafana Cloud dashboards and began phasing out the self-hosted stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*29ln5nPBTHamhEBXYJ78tA.png" /></figure><h3>Challenges Along the Way</h3><h4>High cardinality metrics management</h4><p>High cardinality metrics are expensive, so we had to do some work to reduce them. While Grafana Cloud has great tooling for this, it has its limits. We kept some of our own aggregations for in-cluster components. There is the possibility to automatically reduce cardinality for unused metrics, but we wanted more control.</p><p>Some of our platform specific metric collection tools have much higher cardinality than what we wanted to send to Grafana Cloud (approximately 10M series reduced to about 1.5M series). For these, we kept an intermediate in-cluster Prometheus that does pre-aggregation and only sends the relevant metrics to Grafana Cloud.</p><p>The nice thing is that we can configure this in-cluster Prometheus the same way we configure Grafana’s metrics collection tool alloy. This way we have a consistent setup and through labels on the ServiceMonitor we can select metrics that should be scraped by alloy directly versus those that need local processing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*99NnN9lcYwSfeziJ_oivQw.png" /></figure><h4>Query differences</h4><p>Some PromQL queries behaved differently due to subtle differences in labels. E.g., we now have a new cluster label on all metrics which was called differently before. This required updating dashboards and alerts during the migration.</p><h4>Fixed scrape intervals</h4><p>Scrape intervals are pretty much fixed at 60 seconds, which was more flexible in our self-hosted setup. This was not a big issue for us as this was mainly a concern for the metrics from our platform components that calculate things like rates. Since we are keeping our pre-aggregation Prometheus, these calculations are still done there, and we send the aggregated metrics to Grafana Cloud. But if you need higher resolution, you might want to check this first.</p><h4>Terraform limitations</h4><p>Some configurations are not supported by the official Terraform module and need to be done through a 3rd party provider. Here the Grafana team was still helping us to get this done.</p><h4>Loki learning curve</h4><p>Loki is different from other logging systems — it definitely has a learning curve. The Grafana team provided us with proper onboarding and training sessions which helped a lot. Understanding label-based indexing versus full-text search was the biggest mindset shift, but it’s proven powerful once mastered.</p><h4>High cardinality in logs</h4><p>One ongoing challenge is the handling of high cardinality data in logs. E.g., if you want to count the logs for data fields that have a high number of unique values (e.g., find user IDs with the highest request count or IPs with the highest request count), this can quickly overwhelm Loki. This is an issue being actively worked on by the Grafana team, but it’s something to be aware of during planning.</p><h3>The New Setup</h3><p>Today, our observability stack looks much simpler. Metrics and logs are collected via agents in our clusters and shipped directly to Grafana Cloud. Dashboards and alerts are managed in one place, and developers access everything through Grafana’s UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qc0yeYZgWuy4w03_lL2t4g.png" /></figure><h3>Benefits Realized</h3><p>The impact was immediate and measurable:</p><h4>Developer Experience</h4><ul><li><strong>Better out-of-the-box dashboards:</strong> Good default dashboards and easy onboarding let developers own their services’ reliability. The great thing is that most of the dashboards that come by default can also be modified to fit specific needs.</li><li><strong>AI assistant:</strong> The built-in AI assistant is a great enhancement of the platform especially for new joiners as it has access to all data.</li></ul><h4>Operational Efficiency</h4><ul><li><strong>Unified view:</strong> Correlating logs, metrics, and traces in one place has sped up incident response and our MTTR.</li><li><strong>Improved retention of logs:</strong> We now retain logs for 30 days vs. previous 7 days, enabling historical analysis that was previously impossible.</li><li><strong>Improved retention of metrics:</strong> Metrics are now retained for 13 months, up from 1 month, allowing for better trend analysis and capacity planning.</li><li><strong>Reduced cognitive load:</strong> No more context-switching between tools during incidents.</li></ul><h4>Performance</h4><ul><li><strong>Lower resource consumption:</strong> We can now sample access logs for all services at ingress level, as Alloy does not use as many resources as our previous log shipper. It is still powerful enough for a lot of pre-processing.</li><li><strong>Data transfer:</strong> Through AWS PrivateLink, all traffic between our clusters and Grafana Cloud can be sent without incurring high egress costs.</li></ul><h4>Advanced Capabilities</h4><ul><li><strong>Metrics from logs:</strong> A nice feature of Loki is that you can create metrics from logs. This allows us to investigate some things on the spot for which we would otherwise first need to create a new metric in Prometheus.</li></ul><h4>Before/After Comparison</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*ppd74dpAcTpjL2bboitEQw.png" /></figure><h4>Developer Feedback</h4><p>Quote from one of our developers sums it up perfectly:</p><blockquote><em>“Seeing and experiencing the connected observability data in Grafana Cloud feels like we have been living in the stone age before.”</em></blockquote><blockquote><em>— Bijan Chokoufe Nejad, Senior Staff Engineer, Jimdo</em></blockquote><h3>Lessons Learned &amp; Tips</h3><h4>Before you start:</h4><ul><li><strong>Do a cleanup first:</strong> Migrating is the perfect excuse to prune unused dashboards and alerts. You’ll save time and money.</li><li><strong>Involve developers early:</strong> They’ll spot missing metrics or dashboards quickly. Additionally, during the evaluation it became clear to everyone that this is a game changer. So when the migration started, everyone was excited to get this done.</li></ul><h4>During migration:</h4><ul><li><strong>Run both systems in parallel before cutting over</strong> — it builds confidence and allows for validation without risk.</li><li><strong>Migrate in phases:</strong> Start with core platform components, then move teams one by one.</li><li><strong>Plan for resource needs:</strong> The metrics collection Alloy component needs roughly the same amount of resources as an in-cluster Prometheus server. Budget accordingly.</li><li><strong>Expect query differences:</strong> Plan time to update PromQL queries for label changes and behavioral differences.</li></ul><h4>Cost optimization:</h4><ul><li><strong>Understand your cardinality:</strong> High cardinality metrics can get expensive quickly. Use the evaluation phase to understand your data and optimize before full rollout.</li><li><strong>Consider the hybrid approach:</strong> For very high-cardinality platform metrics, pre-aggregation in-cluster can save significant costs while maintaining observability.</li><li><strong>Use AWS PrivateLink:</strong> Keeps data transfer costs low and improves security posture.</li><li><strong>Adjust scraping and retention:</strong> Balance cost with observability needs based on actual usage patterns.</li></ul><h3>Conclusion</h3><p>Migrating to Grafana Cloud was a big step, with the major migration work completed over 9 months. While some teams are still migrating their configuration, the core infrastructure transition is done and it has paid off by letting us focus less on how to correlate data from different systems and more on actually solving problems. We now have a scalable, reliable, and developer-friendly observability system that grows with our needs.</p><p>The combination of managed infrastructure, unified data correlation, and the ability to complement with self-hosted components where needed gives us the best of both worlds.</p><p>We hope that this article gives you an interesting insight into the “machine room” of Jimdo and is helpful in case you are considering a similar migration.</p><p>Follow us at <a href="https://jimdoverse.com/">https://jimdoverse.com</a><br>We are <a href="https://careers.jimdo.com/">hiring</a>!</p><h3>Additional Resources</h3><ul><li>Grafana Cloud: <a href="https://grafana.com/products/cloud/">https://grafana.com/products/cloud/</a></li><li>Grafana Monitoring Helm Chart: <a href="https://github.com/grafana/k8s-monitoring-helm">https://github.com/grafana/k8s-monitoring-helm</a></li><li>Grafana Success Story: <a href="https://grafana.com/success/jimdo/">https://grafana.com/success/jimdo/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7864603a8d64" width="1" height="1" alt=""><hr><p><a href="https://www.jimdoverse.com/scaling-observability-jimdos-journey-towards-united-telemetry-7864603a8d64">Scaling Observability: Jimdo’s Journey Towards United Telemetry</a> was originally published in <a href="https://www.jimdoverse.com/">Jimdoverse</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debugging Linkerd Prometheus Cardinality]]></title>
            <link>https://www.jimdoverse.com/debugging-linkerd-prometheus-cardinality-7891ab529f39?source=rss-4b76ae74ce5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7891ab529f39</guid>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[linkerd]]></category>
            <category><![CDATA[high-cardinality]]></category>
            <dc:creator><![CDATA[Heiko Voigt]]></dc:creator>
            <pubDate>Thu, 23 May 2024 10:59:14 GMT</pubDate>
            <atom:updated>2024-05-23T13:57:12.565Z</atom:updated>
            <content:encoded><![CDATA[<p><em>At Jimdo we run a microservice-based architecture using Kubernetes. To gain insights into traffic we run the </em><a href="https://linkerd.io/"><em>Linkerd service mesh</em></a><em>. A recent version update leads to a cardinality explosion. In this article, we want to share our debugging process.</em></p><p>We updated our linkerd version from 2.12.2 to 2.13.7. Linkerd runs a side-car proxy along each application instance (pod) we are running. This way it provides insights how different components communicate.</p><p>Our rollout went through 3 stages:</p><ol><li>Development integration cluster: No real services on it. All looks fine.</li><li>Stage cluster: All our services are running here without real-world traffic. Also, all looks fine.</li><li>Production: Linkerd’s Prometheus went directly out of memory. It seems suddenly the Prometheus metrics cardinality exploded. We could not even query the Prometheus instance, it was running out of memory so fast.</li></ol><figure><img alt="A graph of Prometheus memory usage over time." src="https://cdn-images-1.medium.com/max/821/1*wUoh2wXCnoOt3tFfhW5unw.png" /><figcaption>Prometheus memory usage</figcaption></figure><h3>Linkerd Prometheus Setup</h3><p>To get some context let us first sketch our Prometheus setup</p><figure><img alt="A diagram showing how three Promtheus instances connect to each other" src="https://cdn-images-1.medium.com/max/1024/1*jkHPBD-mm4rVtv_HdZ7zBA.jpeg" /><figcaption>Linkerd Prometheus Setup</figcaption></figure><p>This setup ensures that we only loose Linkerd metrics in case some application behavior introduces high cardinality for Linkerd metrics.</p><h3>The problem</h3><p>Now what happened due to this update?</p><p>We googled our way around, asked on Linkerds Slack but nobody seemed to have experienced this kind of cardinality explosion. Linkerds <a href="https://github.com/linkerd/linkerd2/blob/main/ADOPTERS.md">ADOPTERS</a> file also suggests that many companies are using it in production.</p><p>We first tried the classic Prometheus cardinality mitigation:</p><ul><li>increase Prometheus instance memory: We doubled, we quadrupled, but it did not help and we stopped at 200 GB of instance main memory.</li><li>reduce Prometheus retention (even going as low as 10 minutes did not help)</li></ul><p>So since Prometheus was sent directly into out of memory we needed some bigger guns:</p><ul><li><strong>drop metrics</strong>: We saw high cardinality for the response_latency_ms metric. In a glimpse of Prometheus running, we got some database statistics and found the authority label to contribute the most to the high cardinality. By dropping that label we got Prometheus at least running again. But we still did not know the root cause.</li></ul><figure><img alt="A graph of Prometheus memory usage over time where the memory limit is also increased" src="https://cdn-images-1.medium.com/max/824/1*PgkkuqPXY1lfuk0xxkIT1g.png" /><figcaption>Increasing the limits for Prometheus memory</figcaption></figure><p>The problem now was that we were missing important metrics or their calculations were wrong. E.g. the metric response_total seemed to be completely wrong for some services. And the team for one important service was complaining that now their req/s metrics were completely useless (from 1500 req/s to 80 req/s)</p><figure><img alt="A graph showing the requests per seconds for a service divided by status code over time." src="https://cdn-images-1.medium.com/max/390/1*YsLCkgjVtbMJqjRUlnk2IA.png" /><figcaption>LinkerD request/s measurements for an important service</figcaption></figure><p>While investigating we found that we missed to restart some pods on our cluster. That means we had the old linkerd-proxy running for the system components of our cluster. We rectified the missing restarts, maybe the mixture of different metric label values leads to this high cardinality? But that did not help either.</p><figure><img alt="A graph showing Prometheus memory usage over time with almost constant usage" src="https://cdn-images-1.medium.com/max/823/1*86694Wd3kQ3xkZysr2WJXQ.png" /><figcaption>Prometheus memory after dropping the label</figcaption></figure><p>Linkerd has been known to introduce high cardinality for high amount of connections between application instances. To understand what that means you need to know that source and target address are label values. That means each communication channel between an instance of an application and another instance of an application is mapped to an additional metric.</p><figure><img alt="A diagram depicting the amount of edge connections for three connected services with multiple instances" src="https://cdn-images-1.medium.com/max/1024/1*lcjYudX1bDNRyamJ6JV_ng.jpeg" /><figcaption>LinkerD edge cardinality</figcaption></figure><p>That means if some load pushes the autoscaler to scale up multiple services, the cardinality count increases squared, cubic or in general X^N. Where X is the number of instances and N, the number of different services affected. E.g. 300 instances of 3 services communicating with each other could lead to a cardinality of 2.7Million. This is of course the worst case scenario. Usually, these numbers are lower as not all services scale equally. However, it shows the issues with metric labels based on instance connections. Considering that these metrics might be subdivided further by other labels you can multiply this with another factor.</p><p>That is why we have a separate Prometheus just for Linkerds metrics. In case cardinality for metrics goes through the roof it does not affect our other metrics. Short-term Prometheus scrapes aggregated metrics without instance information from Linkerd Prometheus. This way only metrics coming from Linkerd-proxies are affected in our monitoring.</p><h3>Metrics Analysis</h3><p>Now was the time when we started to write a <a href="https://github.com/Jimdo/metrics-analysis">metrics analysis tool</a> to directly analyze the /metrics endpoint of our pods. Linkerd allows to diagnose the /metrics endpoints of pods with this command:</p><pre>linkerd diagnostics proxy-metrics ...</pre><p>Since single pods metrics scrapes were quite big, they went up to 151MB for a single instance, it was simply not feasible to look into these endpoints manually.</p><p>With this in hand we discovered that some instances authority cardinality was as high as ~250000 values.</p><h3>Welcome to Jimdo</h3><p>Now you need to know a little background about Jimdo. As part of our product, we are hosting our user’s websites. Each website has its own domain and we are hosting 30+ millions of individual websites.</p><h3>Finding the Roots</h3><p>Further investigation showed that the authority label was containing our users’ domains. This explains the high cardinality and why dropping the authority label helped to get Prometheus back running.</p><p>Now the linkerd documentation states that the authority label contains “The value of the:authority (HTTP/2) or Host (HTTP/1.1) header of the request.&quot; This explains why we had such high cardinality problems.</p><p>Linkerd is misusing the label value here a bit as <a href="https://prometheus.io/docs/practices/naming/#labels">Prometheus documentation</a> clearly states:</p><blockquote>Do not use labels to store dimensions with high cardinality (many different label values), such as user IDs, email addresses, or other unbounded sets of values.</blockquote><p>E.g. see this <a href="https://github.com/linkerd/linkerd2/issues/5746">issue</a>.</p><p>While the number of domains might be low for 99% of applications in other companies, for us the Host header clearly falls into this category.</p><p>We talked to the team responsible for the web delivery service and disabled linkerd for their service as a short-term solution:</p><figure><img alt="A graph showing Prometheus memory usage over time. The usage is dropping." src="https://cdn-images-1.medium.com/max/825/1*y5pQQmTPgKZa_R0T8BFmGA.png" /><figcaption>Prometheus memory usage returning to normal levels</figcaption></figure><p>To understand what was happening here:</p><p>We are hosting “a lot of” domains. The service in charge of delivering our users’ webpages uses the Host header to decide which page to deliver, which is a very typical way of implementing this. Since we are hosting 30+ millions of websites these potentially end up in the authority label. This seems to be a special case and not many other linkerd users are hosting so many domains.</p><p>By disabling Linkerd for this service we could bring Prometheus storage down to acceptable levels.</p><p>It does not explain why the cardinality changed when upgrading from Linkerd 2.12.2 to 2.13.7 as the documentation for the authority label is the same for both versions (<a href="https://linkerd.io/2.12/reference/proxy-metrics/#labels">2.12 documentation</a> vs. <a href="https://linkerd.io/2.13/reference/proxy-metrics/#labels">2.13 documentation</a>). But we always observed high memory usage for Linkerd Prometheus and we assume that some other label values increased which led to multiplying this already high cardinality into unbearable levels.</p><h3>References</h3><ul><li><a href="https://itnext.io/optimizing-linkerd-metrics-in-prometheus-de607ec10f6b">https://itnext.io/optimizing-linkerd-metrics-in-prometheus-de607ec10f6b</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7891ab529f39" width="1" height="1" alt=""><hr><p><a href="https://www.jimdoverse.com/debugging-linkerd-prometheus-cardinality-7891ab529f39">Debugging Linkerd Prometheus Cardinality</a> was originally published in <a href="https://www.jimdoverse.com/">Jimdoverse</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>