<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Elastic Observability Labs - Articles by Irene Blanco Fabregat</title>
        <link>https://www.elastic.co/observability-labs</link>
        <description>Trusted security news &amp; research from the team at Elastic.</description>
        <lastBuildDate>Mon, 27 Jul 2026 15:55:16 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <image>
            <title>Elastic Observability Labs - Articles by Irene Blanco Fabregat</title>
            <url>https://www.elastic.co/observability-labs/assets/observability-labs-thumbnail.png</url>
            <link>https://www.elastic.co/observability-labs</link>
        </image>
        <copyright>© 2026. Elasticsearch B.V. All Rights Reserved</copyright>
        <item>
            <title><![CDATA[Three clicks from alert to error log: breaking down RED metrics by any span attribute in Elastic Observability]]></title>
            <link>https://www.elastic.co/observability-labs/blog/red-metrics-trace-breakdown-discover</link>
            <guid isPermaLink="false">red-metrics-trace-breakdown-discover</guid>
            <pubDate>Mon, 27 Jul 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[See which pod, deployment or version is driving a RED metrics change by breaking down span attributes in Discover, then trace a failing span to the error log behind it.]]></description>
            <content:encoded><![CDATA[<p>Elastic Observability now lets you break down <a href="https://www.elastic.co/docs/solutions/observability/apm/metrics">RED metrics</a> in Discover by any span attribute on your traces. Split by pod, deployment, service version or any custom dimension to see which values moved the metric. From there, you can open a failing span's trace waterfall and follow it through to the linked error log in a few clicks, no query needed.</p>
<p><img src="https://www.elastic.co/observability-labs/assets/images/red-metrics-trace-breakdown-discover/metric-drivers-2.gif" alt="Breaking down RED metrics by span attribute in Discover" /></p>
<p><strong>Availability</strong></p>
<p>This is available in serverless today and is coming to Elastic Cloud Hosted and self-managed deployments in 9.5.</p>
<h2>What you need for RED metrics breakdown in Elastic Observability</h2>
<p>You need trace data from a service instrumented with any method <a href="https://www.elastic.co/docs/solutions/observability/apm/ingest">Elastic APM supports</a>.</p>
<ul>
<li><strong>Application instrumentation:</strong> one of the following:
<ul>
<li><strong><a href="https://www.elastic.co/docs/solutions/observability/apm/apm-agents">Elastic APM agents</a></strong> for Java, .NET, Node.js, Python, PHP, Ruby, Go, and other supported languages.</li>
<li><strong><a href="https://www.elastic.co/docs/solutions/observability/apm/opentelemetry">OpenTelemetry SDKs</a></strong> sending OTLP via Elastic Agent or an <a href="https://www.elastic.co/docs/solutions/observability/get-started/opentelemetry/use-cases/upstream-collector">upstream OpenTelemetry Collector</a> with the <a href="https://www.elastic.co/docs/reference/edot-collector/components/elasticapmconnector"><code>elasticapm</code> connector</a> under <strong>connectors</strong> (not processors).</li>
</ul>
</li>
<li><strong>Useful attributes:</strong> breakdown works best when spans include the dimensions you want to compare (<code>k8s.pod.name</code>, <code>k8s.deployment.name</code>, <code>service.version</code>, and others). You can also declare custom attributes on spans: add <a href="https://www.elastic.co/docs/solutions/observability/apm/metadata">labels</a> to transactions and spans with Elastic APM agents, or set <a href="https://www.elastic.co/docs/solutions/observability/apm/opentelemetry/attributes">OpenTelemetry attributes</a> on spans and resources with OpenTelemetry SDKs. Those custom fields work as breakdown dimensions too.</li>
<li><strong>Backend:</strong> Observability serverless today, or Elastic Stack 9.5 on Elastic Cloud Hosted and self-managed when 9.5 releases.</li>
</ul>
<h2>How to go from a RED metrics alert to the root-cause error log</h2>
<h3>Step 1: Review RED metrics on the alert detail page</h3>
<p>When you receive a notification for a RED metric threshold breach, if you open the <a href="https://www.elastic.co/docs/solutions/observability/apm/create-apm-rules-alerts">alert detail page</a>, you can review the symptoms for the impacted service on one page.</p>
<p>In our example, failed transactions have clearly increased for the cart service, so we want to understand what is driving that RED metric change:</p>
<p><img src="https://www.elastic.co/observability-labs/assets/images/red-metrics-trace-breakdown-discover/metric-drivers-1.gif" alt="Alert detail showing RED symptoms for the cart service" /></p>
<h3>Step 2: Break down RED metrics by span attributes in Discover</h3>
<p>To investigate why a RED metric changed, open <strong>Traces in Discover</strong> and use the new <strong>breakdown</strong> feature to split RED metrics by any attribute on your spans.
In our example, we're going to check Kubernetes attributes and service version, but you could break down by any span attribute you send (e.g. <code>cloud.region</code>, <code>cloud.availability_zone</code>, or <code>container.id</code>).</p>
<p>Each breakdown shows which attribute values moved the metric, so you can see whether the problem is isolated to one pod, deployment, version, or whatever dimension you split on.</p>
<p>In our example, error rate clusters on a single Kubernetes deployment, which points the investigation at a release. We will break down by <code>service.version</code> to validate our hypothesis:</p>
<p><img src="https://www.elastic.co/observability-labs/assets/images/red-metrics-trace-breakdown-discover/metric-drivers-2.gif" alt="Breaking down RED metrics by span attribute in Discover" /></p>
<h3>Step 3: Open the trace waterfall and read the linked error log</h3>
<p>Once trace breakdown has identified a specific service version as the likely cause, we can filter by that <code>service.version</code> and look at sample failing spans to see if they explain why the version is causing failures.</p>
<p>Open the trace waterfall for one failing span and follow through to the linked error log.</p>
<p>In our example, the error log points to bad configuration that could be causing the issue. Either way, we have narrowed the investigation to a solid hypothesis we can act on in just a few clicks:</p>
<p><img src="https://www.elastic.co/observability-labs/assets/images/red-metrics-trace-breakdown-discover/metric-drivers-3.gif" alt="Trace waterfall and error log for a sample failing span" /></p>
<h2>From RED metrics alert to error log in Elastic Observability</h2>
<p>From a RED metric alert, you can review the symptomatic service, break down <strong>Traces</strong> in Discover by any attribute on your spans, and open a failing span's trace waterfall to reach the error log in just a few clicks.</p>
]]></content:encoded>
            <category>observability-labs</category>
            <enclosure url="https://www.elastic.co/observability-labs/assets/images/red-metrics-trace-breakdown-discover/header.jpg" length="0" type="image/jpg"/>
        </item>
    </channel>
</rss>