ObserveNow, the leading open source-based observability stack, has recently enhanced its capabilities with the introduction of Span Filtering – a key feature in its latest upgrade to Grafana 10.4. This advancement significantly improves the platform's ability to dissect and analyze traces, which are crucial for understanding the behavior and performance of distributed systems. In this blog post, we’ll discuss what traces and spans are in addition to how Span Filtering can empower developers to gain deeper insights into application and system performance.
A trace represents the journey of a single request as it traverses through different services and components in a distributed system. It is essentially a record of the entire transaction, capturing each step and interaction from start to finish. Traces are invaluable for understanding how a request is processed, identifying bottlenecks, and diagnosing errors.
Within a trace, each operation or step is recorded as a span. A span contains detailed information about a specific part of the workflow, including:
By breaking down a trace into spans, developers and operators can see exactly what happens at each stage of a request, making it easier to pinpoint issues and understand the system's behavior.
As systems become more complex, traces can contain a large number of spans. The sheer volume of data can make it difficult to isolate and analyze specific parts of a request. This is where Span Filtering comes into play. Span Filtering allows users to apply various criteria to focus on particular spans within a trace, providing a more granular level of analysis.
With the Grafana 10.4 upgrade, Span Filtering can officially be enabled within ObserveNow, allowing users to isolate and examine specific spans within a trace. Here’s how span filtering enhances the observability experience:
Utilizing Span Filtering in Grafana 10.4 with ObserveNow is easy. Just follow these steps:
1. Start by navigating to the Traces View dashboard in the Grafana portal where all collected traces are displayed.
2. Select a particular Trace and click on “Details of this trace.”
3. Click on the “Span Filters” label.
4. Use the provided filtering options to specify the criteria for the spans you’re interested in. This might include selecting spans from a particular service, with certain tags, or within a specific time range.
5. Once the filters are applied, click on “Run query.” Grafana will then display relevant spans only, allowing users to focus their analysis. This can be particularly useful in high-traffic systems where traces contain thousands of spans.
6. Create dashboards and panels that visualize the filtered spans, providing ongoing insights and proactive monitoring.
The introduction of Span Filtering in Grafana 10.4 significantly enhances the observability capabilities of ObserveNow. By letting users filter and analyze specific spans within a trace, ObserveNow becomes an even more powerful tool for pinpointing issues, optimizing performance, and improving troubleshooting efficiency. The ability to focus on detailed aspects of traces ensures that developers can maintain the health and performance of their distributed systems with greater ease.
With the upgraded observability stack, ObserveNow continues to empower teams to manage complex applications with greater precision and insights. Log in to the ObserveNow portal and explore the enhanced updates for yourself. You can also visit our website or talk to our experts to learn more about why we’re great at what we do.