vectr_ingest_traces
Import runtime trace events into the symbol graph to reveal dynamic call patterns invisible to static analysis. Use when profiling data shows decorators, dependency injection, or monkey-patching.
Instructions
Import runtime trace events into the symbol graph to enrich static call analysis. Use when you have runtime profiling data (Python sys.settrace output, JSON trace logs) that reveals dynamic dispatch patterns the static analyser cannot see: decorators, getattr, dependency injection, monkey-patching, etc. Pass a list of trace events: [{caller, callee, caller_file?, caller_line?}, ...]. Dynamic edges are stored with edge_type='dynamic' and appear in vectr_trace results marked "(dynamic)" so you can tell them apart from statically-discovered calls. A caller/callee name that matches no indexed symbol is still ingested (it may be external or runtime-only) but is reported back as a warning — check for typos. NOT needed if static analysis (vectr_trace) already shows the call relationships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | List of trace events. Each event: {caller, callee, caller_file?, caller_line?} |