API Reference elixir_scope v#0.0.1
Modules
ElixirScope - AI-Powered Execution Cinema Debugger
AI-powered code analyzer that provides deep semantic analysis, quality assessment, and intelligent refactoring suggestions using advanced pattern recognition.
AI-powered code analysis engine for ElixirScope.
Analyzes code complexity for Elixir modules and functions.
Main LLM client interface for ElixirScope.
Configuration management for LLM providers.
Behaviour defining the common interface for all LLM providers in ElixirScope.
Gemini LLM provider for real AI-powered code analysis.
Mock LLM provider for testing and fallback scenarios.
Vertex AI LLM provider for real AI-powered code analysis.
Standardized response format for LLM providers.
AI orchestrator for ElixirScope instrumentation planning.
Pattern recognition for Elixir code structures.
Predicts execution paths, resource usage, and concurrency impacts based on historical execution data and code analysis.
Enhanced AST transformer for granular compile-time instrumentation.
Helper functions for injecting ElixirScope instrumentation into AST nodes.
Core AST transformation engine for ElixirScope instrumentation.
Function-level data structure with static analysis and runtime correlation.
Maps AST nodes to instrumentation strategies and points.
Complete module representation with static AST and runtime correlation data.
Enhanced AST parser that assigns unique node IDs to instrumentable AST nodes, extracts instrumentation points, and builds correlation indexes for runtime correlation.
Central repository for AST storage with runtime correlation capabilities.
Runtime correlation bridge that maps runtime events to AST nodes.
ElixirScope Application Supervisor
AsyncWriter is a worker process that consumes events from ring buffers, enriches them with metadata, and processes them asynchronously.
AsyncWriterPool manages a pool of AsyncWriter processes that consume events from ring buffers and process them asynchronously.
EventCorrelator establishes causal relationships between events in the ElixirScope execution cinema system.
Enhanced event structure with correlation metadata and causal links.
Ultra-fast event ingestor for ElixirScope.
Runtime API for instrumented code to report events to ElixirScope.
PipelineManager supervises all Layer 2 asynchronous processing components.
High-performance lock-free ring buffer for event ingestion.
Bridge between InstrumentationRuntime and TemporalStorage for real-time temporal correlation.
Temporal storage for events with AST correlation and time-based indexing.
Orchestrates compile-time AST instrumentation by generating detailed plans based on user requests and AI analysis.
Configuration management for ElixirScope.
Manages AI integration and analysis capabilities.
Manages runtime event querying and filtering.
Tracks message flows between processes.
Manages process state history and temporal queries.
Synchronizes events across distributed ElixirScope nodes.
Distributed global clock for ElixirScope event synchronization.
Coordinates ElixirScope tracing across multiple BEAM nodes.
Core event structures for ElixirScope.
Event fired when a GenServer callback returns a reply
Event fired when a process crashes
Event fired when an error occurs
Event fired when entering a function
Event fired for function execution (call or return)
Event fired when exiting a function
Event fired for garbage collection events
Event fired for message passing events
Event fired when a message is received
Alias for MessageReceive for runtime tracing compatibility
Event fired when a message is sent
Alias for MessageSend for runtime tracing compatibility
Event fired for distributed node events
Event fired for performance measurements
Event fired for process lifecycle events
Event fired when a process exits
Event fired when a process is spawned
Event fired for scheduler events
Event fired when GenServer state changes
Event fired for periodic state snapshots during time-travel debugging
Event fired for ETS/DETS table operations
Event fired for trace control operations
Event fired for VM-level events
Event fired when a traced variable is assigned
Phoenix-specific integration for ElixirScope instrumentation.
Optimized query engine for event retrieval.
High-performance ETS-based storage for ElixirScope events.
High-performance event storage with ETS-based indexing.
Utility functions for ElixirScope.
Mix Tasks
Mix compiler that transforms Elixir ASTs to inject ElixirScope instrumentation.