Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
200 lines (128 sloc) 5.42 KB

Release v0.4.4 (2019-04-09)


  • Fixed an issue where the libhoney transmission was being spun up without a default batch timeout, so spans were only getting sent when they hit the batch max (50) rather than after a 100ms timeout.
  • Use libhoney defaults for all missing parameters during initialization (previously the beeline had a few values that differed from the libhoney defaults).


  • Added the Contributors file listing people that have made contributions to the Beeline

Release v0.4.3 (2019-04-09)


  • Fix race condition when concurrently adding children and sending a non-root span. Contribution by @carlosgaldino

Release v0.4.2 (2019-04-08)



  • Events that were coming in with an existing sample rate to a beeline configured to do additional sampling were not computing the final sample rate correctly. This change fixes the sample rate in that specific case.
  • Added missing comment describing the semantics of the dataset field in the trace propagation header added in v0.3.5

Release v0.4.1 (2019-03-21)


  • Sample rate returned by the sampler hook was incorrectly being multiplied with the default global sample rate.

Release v0.4.0 (2018-11-28)


  • Add a libhoney.Client as a configurable item in the beeline initial config. This allows full control over the underlying transmission of spans, so you can replace the HTTP transport or adjust queue sizes and so on

Release v0.3.6 (2018-11-28)


  • Add CopyContext function to simplify moving trace metadata to a new context (for example, when trying to avoid a cancellation in an async span).
  • Improve handling of broken or partial trace propagation headers

Release v0.3.5 (2018-11-28)


  • Add dataset to serialized trace headers to allow one service with multiple upstream callers to send spans to the right destination dataset

Release v0.3.4 (2018-11-28)


  • Delete spans from the trace when they're sent for improved memory management
  • Add a benchmark

Release v0.3.3 (2018-11-28)


  • Add URL queries and add name even when empty

Release v0.3.2 (2018-11-28)


Release v0.3.1 (2018-10-25)


  • Fix race condition on map access that can occur with Sampler and Presend hooks when AddField is called concurrently with Send.

Release v0.3.0 (2018-10-23)

Breaking Changes

  • NewResponseWriter no longer returns a concrete type directly usable as an http.ResponseWriter. It now exposes the wrapped http.ResponseWriter through the field Wrapped.

Code that would have previously looked like:

wrappedWriter := common.NewResponseWriter(w)
handler.ServeHTTP(wrappedWriter, r)

now looks like:

wrappedWriter := common.NewResponseWriter(w)
handler.ServeHTTP(wrappedWriter.Wrapped, r)

Release v0.2.4 (2018-10-05)

Minor Changes

  • Allow override of MaxConcurrentBatches, MaxBatchSize, and PendingWorkCapacity in beeline.Config
  • Sets default value for MaxConcurrentBatches to 20 (from 80), and PendingWorkCapacity to 1000 (from 10000).

Release v0.2.3 (2018-09-14)

Bug Fixes

  • rollup fields were not getting the rolled up values added to the root span

New Field

  • sql and sqlx wrappers get both the DB call being made (eg Select) as well as the name of the function making the call (eg FetchThingsByID)

Release v0.2.2 (2018-09-1)

Bug Fixes

  • fix version number inconsistency with a patch bump

Release v0.2.1 (2018-09-14)

Bug Fixes

  • fix propagation bug when an incoming request has a serialized beeline trace header

Release v0.2.0 (2018-09-12)

This is the second major release of the beeline. It changes the model from "one current span" to a to a doubly-linked tree of events (now dubbed "spans") representing a trace.

Major Changes

  • introduces the concept of a span
  • adds functions to create new spans in a trace and add fields to specific spans
  • adds the ability to create and accept a serialized chunk of data from an upstream service to connect in-process traces in a distributed infrastructure into one large trace.
  • adds trace level fields that get copied to every downstream span
  • adds rollup fields that sum their values and push them in to the root span
  • adds a pre-send hook to modify spans before sending them to Honeycomb
  • adds trace-aware deterministic sampling as the default
  • adds a sampler hook to manually manage sampling if necessary

Breaking Changes

  • removed ContextEvent and ContextWithEvent functions; replaced by spans

Wrapper Changes

  • augment the net/http wrapper to wrap RoundTrippers and handle outbound HTTP calls
  • adding a wrapper for the pop package

Release v0.1.2 (2018-08-30)

New Features

  • add new sqlx functions to add context to transactions and rollbacks
  • add HTTP Headers X-Forwarded-For and X-Forwarded-Proto to events if they exist

Bug Fixes

  • use the passed in context in sqlx instead of creating a background context

Release v0.1.1 (2018-08-20)

Bug Fixes

  • Use the right Host header for incoming HTTP requests
  • Recognize struct HTTP handlers and add their name
  • Fix nil route bug

Release v0.1.0 (2018-05-16)

Initial Release

You can’t perform that action at this time.