Skip to content

Commit 28c2d1b

Browse files
committed
Create v2 Version of datadog tracing interceptor
To completely use v2 of dd-trace-go we must be on the v2 breaking change branch. However, we don't want to cause breaking changes for current users, and we also want to make sure that we respect Go backwards compatibility & semantic versioning. To that end, the v2 version of this integration uses the most recent version and does not have any remnants of v1. Additionally, it handles the breaking changes between API versions.
1 parent 5d7d6b0 commit 28c2d1b

File tree

4 files changed

+1601
-0
lines changed

4 files changed

+1601
-0
lines changed

contrib/datadog/v2/go.mod

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
module go.temporal.io/sdk/contrib/datadog/v2
2+
3+
go 1.24.0
4+
5+
toolchain go1.24.9
6+
7+
require (
8+
github.com/DataDog/dd-trace-go/v2 v2.3.0
9+
github.com/stretchr/testify v1.10.0
10+
go.temporal.io/sdk v1.25.1
11+
)
12+
13+
require (
14+
github.com/DataDog/datadog-agent/comp/core/tagger/origindetection v0.67.0 // indirect
15+
github.com/DataDog/datadog-agent/pkg/obfuscate v0.67.0 // indirect
16+
github.com/DataDog/datadog-agent/pkg/proto v0.67.0 // indirect
17+
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.69.0 // indirect
18+
github.com/DataDog/datadog-agent/pkg/trace v0.67.0 // indirect
19+
github.com/DataDog/datadog-agent/pkg/util/log v0.67.0 // indirect
20+
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.67.0 // indirect
21+
github.com/DataDog/datadog-agent/pkg/version v0.67.0 // indirect
22+
github.com/DataDog/datadog-go/v5 v5.6.0 // indirect
23+
github.com/DataDog/go-libddwaf/v4 v4.3.2 // indirect
24+
github.com/DataDog/go-runtime-metrics-internal v0.0.4-0.20250721125240-fdf1ef85b633 // indirect
25+
github.com/DataDog/go-sqllexer v0.1.6 // indirect
26+
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
27+
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.27.0 // indirect
28+
github.com/DataDog/sketches-go v1.4.7 // indirect
29+
github.com/Masterminds/semver/v3 v3.3.1 // indirect
30+
github.com/Microsoft/go-winio v0.6.2 // indirect
31+
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
32+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
33+
github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect
34+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
35+
github.com/dustin/go-humanize v1.0.1 // indirect
36+
github.com/ebitengine/purego v0.8.3 // indirect
37+
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
38+
github.com/go-logr/logr v1.4.2 // indirect
39+
github.com/go-logr/stdr v1.2.2 // indirect
40+
github.com/go-ole/go-ole v1.3.0 // indirect
41+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
42+
github.com/gogo/protobuf v1.3.2 // indirect
43+
github.com/golang/mock v1.7.0-rc.1 // indirect
44+
github.com/golang/protobuf v1.5.4 // indirect
45+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
46+
github.com/google/uuid v1.6.0 // indirect
47+
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2 // indirect
48+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
49+
github.com/hashicorp/go-version v1.7.0 // indirect
50+
github.com/json-iterator/go v1.1.12 // indirect
51+
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
52+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
53+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
54+
github.com/nexus-rpc/sdk-go v0.5.1 // indirect
55+
github.com/outcaste-io/ristretto v0.2.3 // indirect
56+
github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect
57+
github.com/pkg/errors v0.9.1 // indirect
58+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
59+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
60+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
61+
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
62+
github.com/robfig/cron v1.2.0 // indirect
63+
github.com/secure-systems-lab/go-securesystemslib v0.9.0 // indirect
64+
github.com/shirou/gopsutil/v4 v4.25.3 // indirect
65+
github.com/stretchr/objx v0.5.2 // indirect
66+
github.com/theckman/httpforwarded v0.4.0 // indirect
67+
github.com/tinylib/msgp v1.2.5 // indirect
68+
github.com/tklauser/go-sysconf v0.3.15 // indirect
69+
github.com/tklauser/numcpus v0.10.0 // indirect
70+
github.com/yusufpapurcu/wmi v1.2.4 // indirect
71+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
72+
go.opentelemetry.io/collector/component v1.31.0 // indirect
73+
go.opentelemetry.io/collector/featuregate v1.31.0 // indirect
74+
go.opentelemetry.io/collector/internal/telemetry v0.125.0 // indirect
75+
go.opentelemetry.io/collector/pdata v1.31.0 // indirect
76+
go.opentelemetry.io/collector/semconv v0.125.0 // indirect
77+
go.opentelemetry.io/contrib/bridges/otelzap v0.10.0 // indirect
78+
go.opentelemetry.io/otel v1.35.0 // indirect
79+
go.opentelemetry.io/otel/log v0.11.0 // indirect
80+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
81+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
82+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
83+
go.temporal.io/api v1.54.0 // indirect
84+
go.uber.org/atomic v1.11.0 // indirect
85+
go.uber.org/multierr v1.11.0 // indirect
86+
go.uber.org/zap v1.27.0 // indirect
87+
golang.org/x/exp v0.0.0-20250606033433-dcc06ee1d476 // indirect
88+
golang.org/x/mod v0.25.0 // indirect
89+
golang.org/x/net v0.41.0 // indirect
90+
golang.org/x/sync v0.15.0 // indirect
91+
golang.org/x/sys v0.33.0 // indirect
92+
golang.org/x/text v0.26.0 // indirect
93+
golang.org/x/time v0.11.0 // indirect
94+
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
95+
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e // indirect
96+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250425173222-7b384671a197 // indirect
97+
google.golang.org/grpc v1.72.0 // indirect
98+
google.golang.org/protobuf v1.36.6 // indirect
99+
gopkg.in/ini.v1 v1.67.0 // indirect
100+
gopkg.in/yaml.v3 v3.0.1 // indirect
101+
)
102+
103+
replace go.temporal.io/sdk => ../../../

0 commit comments

Comments
 (0)