Send logs and events from JavaScript apps to Honeybadger Insights
Automatic instrumentation
Section titled “Automatic instrumentation”Capture inbound HTTP requests from Express, Fastify, AWS Lambda, and Next.js as
request.handled events. See
Automatic instrumentation
for configuration and framework setup.
Instrument your JavaScript application, either backend or frontend, to send your logs automatically to Honeybadger Insights. More information can be found here.
Events
Section titled “Events”If you have custom events you’d like to track, use Honeybadger.event() to
report them to Insights:
Honeybadger.event("button_click", { action: "buy_now", user_id: 123, product_id: 456,});More information about sending events to Insights from your JavaScript apps can be found here.