Dd Trace Go Versions Save

Datadog Go Library including APM tracing, profiling, and security monitoring.

v1.63.1

2 weeks ago

Summary

Fixed _dd.p.dm decision maker collision on number 10.

Changes

Fixes

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.63.0...v1.63.1

v1.63.0

3 weeks ago

What's Changed

Application Performance Monitoring (APM)

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.

Application Security Management (ASM)

Profiling

General

Fixes

Application Performance Monitoring (APM)

Application Security Management (ASM)

New Contributors

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.62.0...v1.63.0

yuanyuan-dev-1

1 month ago

For system tests.

v1.62.0

1 month ago

Summary

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.

What's Changed

Application Performance Monitoring (APM)

Application Security Management (ASM)

General

Fixes

New Contributors

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.61.0...v1.62.0

v1.61.0

2 months ago

Summary

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.

Changes

Application Performance Monitoring (APM)

Application Security Management (ASM)

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
  • appsec: support for go 1.22 by @Julio-Guerra in go-libddwaf#64
  • appsec: DataDog's WAF ignore field with ddwaf:"ignore" by @eliottness in go-libddwaf#68
  • chore: go-libddwaf v2.3.1 by @eliottness (Release Notes)

Profiling

Data Streams Monitoring (DSM)

General

New Contributors

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.3...v1.61.0

v1.60.3

3 months ago

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

v1.60.2

3 months ago

Summary

Removed inet.af/netaddr dependency after domain removal.

Changes

Fixes

  • go.mod: remove inet.af/netaddr dependency #2553 by @darccio @eliottness

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.1...v1.60.2

v1.60.1

3 months ago

Summary

A few minor bug fixes in this release.

Changes

Fixes

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.60.0...v1.60.1

v1.60.0

3 months ago

Summary

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.

Changes

Application Performance Monitoring (APM)

Application Security Management (ASM)

Profiling

General

New Contributors

Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v1.59.0...v1.60.0

v1.59.1

3 months ago

Patch Release Notes

Application Security Management (ASM)

  • Upgrade github.com/ebitengine/purego: v0.5.0 -> v0.5.2 to forward ebitengine/purego#189 fix to upstream

⚠️ 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.