@exotjs/inspector
v0.1.16
Published
Exot Inspector - monitoring, tracing and debugging for Node.js, Bun and Deno.
Downloads
12
Maintainers
Readme
Exot Inspector
[!IMPORTANT]
Status: under development
Application inspector for Node, Bun and Deno, equipped with powerful tools for monitoring, tracing and debugging.
Features
- Metrics, logs, traces, and custom events.
- Monitoring of outgoing HTTP requests.
- Data storage flexibility - without reliance on external services or databases.
- Privacy-first approach: data exchange directly between your server and the application.
Tools included
- Dashboards
- Logs
- Traces
- Network Inspector
- Error Tracking
- Custom Events
- Environment Inspector
Install
npm install @exotjs/inspector
Deno
import { Inspector } from 'https://deno.land/x/exot_inspector/mod.ts'
Usage
While it's recommended to use a plugin tailored for your framework, which includes all common functionality and a websocket server, you can also integrate the Inspector manually:
import { Inspector } from '@exotjs/inspector';
import { MemoryStore } from '@exotjs/inspector/store';
const inspector = new Inspector({
store: new MemoryStore(),
});
inspector.instruments.traces.trace('trace_name', () => {
// your function here...
});
Framework plugins
Instruments
The inspector includes several built-in instruments for common tasks. They are available under inspector.instruments.*
and include:
errors
events
logs
metrics
network
traces
Contributing
See Contributing Guide and please follow our Code of Conduct.
License
MIT