Structured event logging for Go
Gophers, rejoice. Honeybadger Insights is now available in our Go client library. Starting with honeybadger-go v0.9.0, you can send structured events from your Go applications, query them with BadgerQL, and create monitoring dashboards in the same tool you use for error monitoring.
What's new
- Send any custom structured event with a type and key-value data
- Set request-scoped context (user ID, request ID, etc.) that is merged into every event automatically
- Register a callback to modify or drop events before they're sent, useful for redacting sensitive fields
- Route your existing
slogandzerologoutput directly to Insights as events; no manual instrumentation needed
Events are sent asynchronously in batches with automatic retries, which minimizes latency impact and avoids blocking your request path.
To get started, upgrade to v0.9.0 and see the Go client docs for sending events.
Try Honeybadger for FREE
Honeybadger is full-stack application monitoring that helps developers move fast and fix things. Get set up in minutes and check monitoring off your to-do list.
Easy 5-minute setup — No credit card required