Everything you need to integrate DevNexus into your stack. Explore the SDK, APIs, and best practices for resilient incident tracking.
The SDK is optimized for modern JavaScript environments, including Node.js, Next.js, React, and Edge Runtimes.
Initialize DevNexus as early as possible in your application's lifecycle.
Wrap your risky code in a try-catch block and send the error manually.
Attach user context to errors to know exactly who is affected by an incident.
Secure your requests by including your project token in the Authorization header.
{
// Required
"message": "Database connection timeout",
// Optional Context
"stack": "Error: timeout at ...",
"tags": {
"component": "database",
"environment": "production"
},
"metadata": {
"query": "SELECT * FROM users"
}
}Endpoints allow up to 30 requests per minute per SDK Key. Overages return a 429 status. Batch processing is recommended for high traffic.
Incident payloads trigger an asynchronous Gemini queue for root cause identification. Complex stack traces may take up to 2 seconds to process.
Payloads exceeding 256KB are truncated to ensure high performance ingestion. Always ensure log rotation for extreme trace lengths.
Join our Discord community or reach out to enterprise support.