Datadog Go Library including APM tracing, profiling, and security monitoring.
Fixed _dd.p.dm decision maker collision on number 10.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.63.0...v1.63.1
Summary: database/sql
integration allows to send DB stats metrics with WithDBStats
, new options added to 99designs/gqlgen
and segmentio/kafka.go
, and google.golang.org/grpc.v12
compilation errors fixed. Also introduces support for remote sampling rules consistent with the current implementation, except sampling by tags.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.62.0...v1.63.0
For system tests.
In this release, Application Performance Monitoring (APM) improves header tag normalization, expands support for dynamic instrumentation
Application Security Management (ASM) adds support for passlist security events on gRPC.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.61.0...v1.62.0
In this release, Application Performance Monitoring (APM) adds support for Span Links (a highly requested feature!). This feature is currently supported within Datadog's OpenTelemetry API implementation.
The default trace context propagation order, which is used for traces in distributed workflows, will become datadog,tracecontext
(previously it was tracecontext,datadog
). This is not a breaking change, and customers should not experience any negative changes in behavior. If you experience any issues, please reach out to Datadog support.
Other APM features include out-of-the-box library integration support for github.com/jackc/pgx/v5
and the ability to ignore specific error types in the github.com/labstack/echo/v4
integration.
ASM Customers upgrading to Go 1.22 should upgrade dd-trace-go or at least upgrade github.com/DataDog/go-libddwaf
to version v2.3.1
. Otherwise ASM Threats won't start with the following error:
appsec: threats detection cannot be enabled for the following reasons: 1 error occurred:
* unsupported Go version: go1.22.0
ddwaf:"ignore"
by @eliottness in go-libddwaf#68
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.3...v1.61.0
Fix the version number reported by dd-trace-go to avoid the release candidate label.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.2...v1.60.3
Removed inet.af/netaddr
dependency after domain removal.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.1...v1.60.2
A few minor bug fixes in this release.
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.0...v1.60.1
In this release, Application Performance Monitoring (APM) adds tracing instrumentation support for valyala/fasthttp. This release also fixes a bug with beta-level remote configuration of the tracer, ensuring that config deletion triggers reverting the configuration option to its original value. Startup logs will also be expanded to describe configured feature flags.
This release also adds Beta support for resource-based and tag-based sampling. This can be configured using the new trace SamplingRule
called TagResourceRule
or by setting "resource"
or "tags"
in the trace sampling rules JSON, e.g. DD_TRACE_SAMPLING_RULES=[{"service": "test.?", "resource": "ec2.*", "tags": {"aws.operation":"DescribeInstances"}, "sample_rate": 1.0}]
Application Security Management (ASM) adds support for Threat Monitoring on GraphQL operations, and trusted IPs can now be added to your ASM passlist.
The Profiler add the WithCustomProfilerLabelKeys
API, which enables using profiler labels
as attributes to filter flame graphs in the Continuous Profiler UI. The Profiler also improves execution trace coverage over time for apps which are deployed simultaneously across several instances, by randomizing when execution traces are collected. An execution trace is collected on average once every 15 minutes by default, but the time between execution traces is now randomized.
Datadog-Entity-ID
header, containing either the container-id or the cgroup inode if available by @AliDatadog in https://github.com/DataDog/dd-trace-go/pull/2402
ASM_TRUSTED_IPS
capability to RC by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/2460
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.59.0...v1.60.0
⚠️ If you are encoutering the following error (#2504), please upgrade to v1.59.1
:
dlopen: unhandled relocation for purego_dlopen (type 46 (SDYNIMPORT) rtype 7 (R_CALL))
dlsym: unhandled relocation for purego_dlsym (type 46 (SDYNIMPORT) rtype 7 (R_CALL))
dlerror: unhandled relocation for purego_dlerror (type 46 (SDYNIMPORT) rtype 7 (R_CALL))
dlclose: unhandled relocation for purego_dlclose (type 46 (SDYNIMPORT) rtype 7 (R_CALL))
This bug can appear for all users of ASM (using the build tag appsec
) starting from v1.53.0
and for all users of dd-trace-go starting from v1.59.0
.