@bugoracle/node
v0.0.3
Published
Node.js SDK for BugOracle observability and error analysis.
Maintainers
Readme
@bugoracle/node
The official Node.js SDK for BugOracle, an AI-powered observability and error analysis platform.
Features
- Automatic Instrumentation: Powered by OpenTelemetry for Node.js.
- Error Analysis: Seamless integration with BugOracle's AI engine.
- Easy Setup: Minimal configuration required.
Installation
npm install @bugoracle/nodeQuick Start
Initialize BugOracle in your application's entry point (e.g., instrumentation.ts in Next.js):
import { BugOracleNode } from "@bugoracle/node";
const bugOracle = new BugOracleNode({
apiKey: process.env.BUGORACLE_API_KEY,
serviceName: "my-service",
});
bugOracle.start();Configuration
| Option | Type | Description |
| ------------- | --------- | -------------------------------------------------------------- |
| apiKey | string | Your BugOracle API key. |
| serviceName | string | The name of your service (default: bugoracle-node-service). |
| endpoint | string | Optional: Custom OTLP trace endpoint. |
| enableOtlp | boolean | If true, defaults to standard OTLP Collector (localhost:4318). |
License
MIT
