exotjs / inspector

Application inspector for Node, Bun and Deno

Home Page:https://exot.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exot Inspector

Important

Status: under development

Application inspector for Node, Bun and Deno, equipped with powerful tools for monitoring, tracing and debugging.

ci

Exot Node Inspector

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

About

Application inspector for Node, Bun and Deno

https://exot.dev

License:MIT License


Languages

Language:TypeScript 100.0%