fetchUser
120ms
Instead of flooding your console with console.log statements, the Telemetry Dashboard injects a beautiful, isolated Shadow DOM overlay into your app. It provides a real-time flame graph of all async operations.
Initialize the DevTools in your app's entry point (make sure to only run it in development):
import { FlowDevTools } from "@asyncflowstate/core";
if (process.env.NODE_ENV === "development") {
FlowDevTools.init({
position: "bottom-right",
theme: "dark",
features: {
timeline: true,
cacheInspector: true,
meshMonitor: true,
dnaViewer: true,
aiLog: true,
},
});
}A live-updating list of the last 20 executions. Shows:
Calculates rolling statistics across all flows:
| Shortcut | Action |
|---|---|
Ctrl + Shift + F | Toggle dashboard visibility |
FlowDevTools โimport { FlowDevTools } from "@asyncflowstate/core";
// Initialize
const tools = FlowDevTools.init();
// Toggle visibility manually
tools.toggle();
// Get raw statistics
const stats = tools.getStats();
// { totalExecutions: 42, successRate: 0.98, avgLatency: 150, totalRetries: 1 }
// Get all raw entries
const timeline = tools.getEntries();| Option | Type | Default | Description |
|---|---|---|---|
position | string | 'bottom-right' | Overlay placement (top-left, etc.) |
theme | string | 'dark' | 'dark' or 'light' |
features | Object | (all enabled) | Toggle specific dashboard panels |