Releases: DataDog/dd-trace-go
Releases · DataDog/dd-trace-go
0.4.0
Core
- you can now set tags at the tracer level like in python with
tracer.SetMeta(key, value)
(#56)
Integrations:
This release introduces four new integrations to generate spans from commonly used libraries. Look under https://godoc.org/github.com/DataDog/dd-trace-go/tracer#pkg-subdirectories for more details.
Bugfixes
- Fix a bug which caused
SpanFromContextDefault
to panic (#54)
Improvements
0.3.0
Major changes
- use a seeded / thread-safe random number generator for
Span
ids. This number generator is used internally to avoid deterministic ids after each restart (#48)
Bugfixes
- fixed race condition on
Enabled
attribute (#43)
Improvements
- Add
http.url
toMux
integration (#40) - Allow custom
SpansBuffer
max size throughSetSpansBufferSize
exported function (#37) - Update documentation (#35 -- docs)
Breaking changes
- Default port
7777
has been replaced with the new8126
available from Datadog Agent 5.11.0 and above (#42)
Read the full changeset.
0.2.0
Major changes
- Add
NewTransport
to create a transport that sends traces to a specific
host and port. - Add
(*tracer.Tracer).SetServiceInfo
to define services. - Define services for gin-gonic, gorilla and grpc integrations.
- Update
tracegrpc.UnaryServerInterceptor
andtracegrpc.UnaryClientInterceptor
to take both a tracer and a service name as arguments. - Populate the
error.type
anderror.stack
tags for error spans. - Mark request spans as errors for 5xx status codes with
gorilla/mux
.
Bugfixing
- Fix context key to make it compatible with gin-gonic contexts.
Read the full changeset
0.1.0
Major changes
- providing support to
msgpack
encoding format - using
MsgpackEncoder
as a default encoder to serialize the payload sent to the trace agent - if an old version of the agent is used, the encoder is switched at runtime downgrading the API and the
Encoder
to the previous stable versions (JSONEncoder
andv0.2
at the time of writing).
Bugfixing
- Update gRPC generated code to latest protobuf version
Read the full changeset