Releases: honeycombio/beeline-go
v0.5.0
Adopts Go 1.11 modules.
Improved error reporting in `sqlx` instrumentation
This change updates the sqlx
instrumentation. When a DB call returns an error, it sets the db.error
field to have the string of the error, fixing a bug where the field might only contain {}
instead.
Adding Content-Encoding fields
Added support for content encoding fields to hnynethttp
. Now users of the Go beeline will know which requests are gzipped!
Also updated hnypop.DB
with context methods, which fixes the pop example.
Add getters for trace / span IDs
Add getter methods to Trace
and Span
structs.
func (t *Span) GetTrace() *Trace
func (t *Span) GetSpanID() string
func (t *Span) GetParentID() string
func (t *Trace) GetTraceID() string
func (t *Trace) GetParentID() string
Add http response fields
Added the HTTP Content-Length and Content-Type values to auto-instrumentation for HTTP spans.
Add more database statistics
Add additional go database stats to hnysql
and hnysqlx
wrapppers. In go 1.11 and later, we additionally report db.conns_in_use
, db.conns_idle
, db.wait_count
, and db.wait_duration
. See https://golang.org/pkg/database/sql/#DB.Stats
Bugfix release
A few small fixes
- added missing
Close
function to theStmt
type - renamed
echo
example binary for using the echo web framework so it doesn't collide with the builtin shellecho
command - updated transaction's
QueryxContext
to use a span instead of an event
Bugfix release
- Fixed
db.error
not being added byhnysql
andhnysqlx
wrappers. - Reduction in heap allocations when creating a span.
Bugfix release
Fixes bug during initialization where the batch timeout was not correctly set.
Bugfix release
See changelog for full details.