---
title: Structured event logging for Go
date: "2026-04-13"
publisher: Honeybadger
tags:
  - Honeybadger
  - Logging
  - Go
url: "https://www.honeybadger.io/changelog/go-event-logging/"
---

Gophers, rejoice. [Honeybadger Insights](https://docs.honeybadger.io/guides/insights/) is now available in our [Go client library](https://docs.honeybadger.io/lib/go/). Starting with `honeybadger-go`**v0.9.0**, you can send structured events from your Go applications, query them with [BadgerQL](https://docs.honeybadger.io/guides/insights/badgerql/), and create [monitoring dashboards](https://docs.honeybadger.io/guides/dashboards/) in the same tool you use for error monitoring.

## What's new

- Send [any custom structured event](https://docs.honeybadger.io/lib/go/insights/sending-events/) with a type and key-value data
- Set [request-scoped context](https://docs.honeybadger.io/lib/go/insights/event-context/) (user ID, request ID, etc.) that is merged into every event automatically
- Register a callback to [modify or drop events](https://docs.honeybadger.io/lib/go/insights/filtering-events/) before they're sent, useful for redacting sensitive fields
- Route your [existing `slog` and `zerolog` output](https://docs.honeybadger.io/lib/go/insights/capturing-logs/) 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](https://docs.honeybadger.io/lib/go/) for sending events.

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
