Search papers, labs, and topics across Lattice.
This paper introduces Contrast, a system designed for multi-dimensional comparative trace analysis, which addresses the complexity of diagnosing anomalies in distributed systems. By leveraging the Trace Projection Object (TPO), Contrast captures various properties of trace populations and allows for the dynamic construction of comparison sets based on evolving hypotheses. The effectiveness of Contrast is validated through experiments on benchmark traces and real-world production data, showcasing its ability to provide insights through complementary interfaces like SpectroViz and Parallax.
Operators can now dynamically analyze distributed traces across multiple dimensions, enhancing anomaly diagnosis with tailored insights from both visual and natural language interfaces.
Diagnosis using distributed traces is fundamentally a comparative task: operators seek to understand how an anomalous execution differs from expected behavior, how a deployment changes system execution, or how two individual executions differ. Trace comparison is challenging because useful differences between executions can manifest across multiple dimensions, and no single diagnostic interface is effective at capturing all of them. Moreover, the relevant dimensions and comparison populations are often not known a priori; operators construct and refine comparison sets dynamically as they develop hypotheses about system behavior. This paper presents Contrast, a system for multi-dimensional comparative trace analysis. Contrast introduces the Trace Projection Object (TPO), a mergeable representation that captures structural, temporal, critical-path, and semantic properties of trace populations while enabling efficient construction of arbitrary comparison sets at query time. Unlike approaches that define a fixed notion of trace difference, Contrast separates trace representation from comparison semantics, allowing diverse interfaces to selectively reason about specific dimensions. This separation enables the composition of complementary interfaces, allowing operators to combine insights from multiple dimensions for more effective diagnosis. We demonstrate this capability through two complementary interfaces: (i) SpectroViz, a critical-path-based visual interface for localizing execution differences; and (ii) Parallax, a natural language interface for generating explanations of trace differences using LLMs. We demonstrate the effectiveness and efficiency of Contrast through controlled experiments on traces from DeathStarBench and evaluation on production traces from Uber.