NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #2186 by repository stars
Latest stable
v1.24.1
Last release 7 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 45 of 45 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
105 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Adds support for the DD_AGENT_HOST and DD_TRACE_AGENT_PORT environment variables which allow setting agent host/port information (#362).
DD_AGENT_HOST and DD_TRACE_AGENT_PORT environment variables which allow setting agent host/port information (#362).To view all changes take a look at new commits or at the 1.6.0 milestone.
contrib/mongodb/mongo-go-driver: support for release Alpha 17
To view all changes take a look at new commits or at the 1.5.0 milestone.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
New integration for github.com/emicklei/go-restful (#331) (thanks @anggorodewanto!)
WrapClient method to net/http integration (#335)driver.ErrSkip responses in SQL integrations (#336)To view all changes take a look at new commits or at the 1.4.0 milestone.
confluentinc/confluent-kafka-go
go-redis integration returns an implicit redis.Cmdable (#329)To view all changes take a look at new commits or at the 1.3.0 milestone.
contrib/google.golang.org/grpc: Fixed a bug where the previously set context value will be overwritten.
When injecting HTTP headers, always replace the values, never add additional
gorilla/mux: allow setting custom span options
New integration: globalsign/mgo
globalsign/mgo (#308)k8s.io/client-go (#298)bradfitz/gomemcache (#291)http.RoundTripper (#299)go-redis/redis versions (#318)ext package (#300)To view all changes take a look at new commits or at the 1.2.0 milestone.
fix race condition in google.golang.org/grpc integration
New integration: streaming interceptors for google.golang.org/grpc
google.golang.org/grpc (#277)graph-gophers/graphql-go (#287)aws/aws-sdk-go (#285)http interfaces when wrapping a response writer (#278)gorilla/mux now adds mux.host tag to specify route hosts (#255)Stop (#264)gin-gonic/gin (#279) - thanks @samsaggace!To view all changes take a look at new commits or at the 1.1.0 milestone.
Nothing published for this version
Nothing published for this version
The new version of the Datadog tracer provides not only an overhauled core which comes with considerable performance improvements, stability and bug f
The new version of the Datadog tracer provides not only an overhauled core which comes with considerable performance improvements, stability and bug fixes, but also a completely new and improved API. This release marks the beginning of our promise to abide by the standards of semantic versioning within the project. It is the result of continuous feedback from the community as well as our extensive internal usage at Datadog in production.
A migration guide has been provided to help users running version 0.x with upgrading. It can be found here.
The full list of changes can be viewed in the 1.0.0 milestone.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
contrib: add support for gRPC v1.2
New features
Span error when adding error tags (#154)Bugfixes
EncoderPool (#116)SetTag convert value to string instead of expected a string (#135 -- thanks @chibimi)traceID and parentID (#140 -- thanks @hamiltop)traceID (#143 -- @shrayolacrayon)Read the full changeset.
Nothing published for this version
Nothing published for this version
It's highly suggested to start using the new API, since the previous tracer has been planned to be deprecated and removed in the next releases.
OpenTracing API
Datadog APM Go Client 0.6.0 is the first version that implements an OpenTracing API. The library uses a compatibility layer on top of the previous datadog.Tracer implementation, so we're still backward compatible with the previous API. It's highly suggested to start using the new API, since the previous tracer has been planned to be deprecated and removed in the next releases.
Backward compatibility
If you're using the legacy datadog.Tracer, no actions are needed and you can safely jump to this release. What is not supported, is using both APIs in the same project. When an OpenTracing Tracer is initialized, the datadog.DefaultTracer is replaced so integrations can be used as usual with the new API.
To start using the new API, you can take a look at the following references:
Read the full changeset
Nothing published for this version
…of all contrib modules. This is not a breaking change:
Bugfixes
TracedDial (#109)Buffer between encoding and flushing to avoid race conditions (#112)Breaking change
DebugLoggingEnabled attribute (#110). The attribute is not exported anymore, so you need to use the API setter/getter:import 'github.com/DataDog/dd-trace-go/tracer'
// Old API
// t := tracer.DefaultTracer
// t.DebugLoggingEnabled = true
// debugFlag := t.DebugLoggingEnabled
// New API
t := tracer.DefaultTracer
t.SetDebugLogging(true)
debugFlag := t.DebugLoggingEnabled()
Improvements
net/http integration (#102 -- thanks @FreekingDean!)Project refactoring
To simplify the usage and to make easy to write new and consistent contributions, we started a global refactoring of all contrib modules. This is not a breaking change:
Read the full changeset.
Nothing published for this version
Nothing published for this version
Nothing published for this version
add tracer.NewChildSpanFromContext() to create a new child span from a Context instance
Core
tracer.NewChildSpanFromContext() to create a new child span from a Context instance (#66)span.SetMetas() (#88 -- thanks @jbonzo)Integrations
Bugfixes
NewChildSpanFromContext(): create the span from the current tracer (#86 -- thanks @vbehar)Improvements
Read the full changeset.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
you can now set tags at the tracer level like in python with tracer.SetMeta(key, value)
Core
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
SpanFromContextDefault to panic (#54)Improvements
use a seeded / thread-safe random number generator for Span ids. This number generator is used internally to avoid deterministic ids after each restar
Major changes
Span ids. This number generator is used internally to avoid deterministic ids after each restart (#48)Bugfixes
Enabled attribute (#43)Improvements
http.url to Mux integration (#40)SpansBuffer max size through SetSpansBufferSize exported function (#37)Breaking changes
7777 has been replaced with the new 8126 available from Datadog Agent 5.11.0 and above (#42)Read the full changeset.
Nothing published for this version
Add NewTransport to create a transport that sends traces to a specific host and port.
Major changes
NewTransport to create a transport that sends traces to a specific
host and port.(*tracer.Tracer).SetServiceInfo to define services.tracegrpc.UnaryServerInterceptor and tracegrpc.UnaryClientInterceptor to take both a tracer and a service name as arguments.error.type and error.stack tags for error spans.gorilla/mux.Bugfixing
Read the full changeset
providing support to msgpack encoding format
Major changes
msgpack encoding formatMsgpackEncoder as a default encoder to serialize the payload sent to the trace agentEncoder to the previous stable versions (JSONEncoder and v0.2 at the time of writing).Bugfixing
Read the full changeset
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.