Custom code—the logic that most directly impacts your business—is often the most interesting code to observe.
Below, you can find different ways to instrument your application: automatic options, 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 Ruby 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.
You can start with a Beeline, which will create traces automatically, and then later, optionally add custom traces and context to events to capture your unique needs.
The Beeline for Ruby is ready out of the box for Rails and other Rack-based apps, with optional support for ActiveRecord, Sequel, Faraday, and more.
OpenTelemetry is a vendor-neutral instrumentation framework with a large community of contributors. Read our guide to get started using OpenTelemetry for Ruby.
Need help choosing between the Beeline SDK and OpenTelemetry for instrumenting your code? Read our guide: Beelines and OpenTelemetry.
Libhoney is a low-level library for sending structured events to Honeycomb’s API.
The Ruby Beeline package uses
libhoney under the hood.
All Honeycomb integrations are open source, Apache 2.0 licensed, and can be found on GitHub.