Excessibility.TelemetryCapture.Analyzers.Hypothesis (Excessibility v0.14.0)

View Source

Generates hypotheses about likely root causes.

Analyzes patterns across enricher data to suggest investigation paths. Designed to help LLMs and developers focus debugging efforts.

Not enabled by default - run with --analyze=hypothesis.

Output

%{
  findings: [
    %{
      severity: :info,
      message: "Memory grew 5.2x. Likely cause: 'items' list is growing unbounded.",
      events: [],
      metadata: %{
        growth_factor: 5.2,
        investigation_steps: [
          "Check which assigns are growing between events",
          "Look for lists that accumulate without limit",
          "Consider pagination or windowing for large datasets"
        ]
      }
    }
  ],
  stats: %{hypothesis_count: 1}
}

Summary

Functions

analyze(map, opts)

Callback implementation for Excessibility.TelemetryCapture.Analyzer.analyze/2.

default_enabled?()

Callback implementation for Excessibility.TelemetryCapture.Analyzer.default_enabled?/0.

name()

Callback implementation for Excessibility.TelemetryCapture.Analyzer.name/0.