Custom code—the logic that most directly impacts your business—is often the most interesting code to observe.
Below, you can find a couple of different ways to instrument your application: an automatic option, with more ready to go out of the box; and a more direct, customizable option. Either will help you capture data on how your code behaves in production and offer some interesting queries to explore.
The Honeycomb Beeline for Go is the most direct path to instrumenting your code. Beelines understand a wide range of standard packages in various ecosystems, and instrument them to send useful events to Honeycomb.
It’s easy to start with a Beeline, then later add custom instrumentation to capture your unique needs.
The Beeline for Go is ready out of the box with optional support for Gorilla, Goji, net/http, sqlx, and more.
The Beeline uses the SDK underneath the hood, but using the SDK directly will offer total control over which fields to capture and how they’re sent to Honeycomb.
All Honeycomb integrations are open source, Apache 2.0 licensed, and can be found on GitHub.