web-stability-observer
v1.3.7
Published
Lightweight Web Vitals and error tracking plugin for Vue 3 applications.
Downloads
960
Maintainers
Readme
app-runtime-metrics
🚀 Ultra-lightweight runtime performance and stability monitoring SDK for modern web applications (Vue 3, React, Svelte, etc.).
Unlike traditional monitoring tools that only track network requests or FCP/LCP, App Runtime Metrics focuses on the Stability Entropy of your application's lifecycle, helping you detect memory leaks and event loop jitter in long-running sessions.
✨ Features
- 📊 Real-time Memory Tracking: Monitors Heap usage trends to detect potential leaks.
- 🛡️ Runtime Entropy Analysis: Uses a lightweight heuristic algorithm to calculate a "Stability Score" (0-1) based on JS event loop jitter.
- ⚡ Zero Dependencies: Built with vanilla TypeScript, no bloat.
- 🌲 Tree-shaking Friendly: Fully compatible with Vite, Webpack, and Rollup.
- 🕵️ Production Optimized: Auto-detects environment to minimize overhead during development.
📦 Installation
# using npm
npm install app-runtime-metrics
# using yarn
yarn add app-runtime-metrics
# using pnpm
pnpm add app-runtime-metrics