honeycombio / libhoney-go

Go library for sending data to Honeycomb
Apache License 2.0
58 stars 40 forks source link

Consider undeprecating Config.Transport or providing a better API for constructing a default transmission.Sender #121

Open alecb-stripe opened 3 years ago

alecb-stripe commented 3 years ago

As-is (unless I'm missing something), it's non-trivial to override just the transport for connecting to honeycomb (without using the deprecated Config.Transport field).

There's no way to construct a sane "default" transmission.Honeycomb instance, and constructing one manually requires referencing a bunch of constants myself, and potentially double-specifying things like the logger or statsd client I want to use.

MikeGoldsmith commented 3 years ago

Feels similar to #49.