Skip to content

Commit 20d0806

Browse files
jszwedkoclaude
andcommitted
fix(dogstatsd-replay): set dogstatsd_socket in e2e test; update BUILD.bazel
ADP's replay CLI reads dogstatsd_socket from config to find the UDS path. The setting has no default so add it explicitly in the e2e test config. Also add //pkg/util/defaultpaths to both BUILD.bazel files, which was missing after the previous commit (caught by bazel:run-gazelle). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent aa2b51c commit 20d0806

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/agent/subcommands/dogstatsdcapture/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ go_library(
1717
"//comp/core/log/def",
1818
"//pkg/config/setup",
1919
"//pkg/proto/pbgo/core",
20+
"//pkg/util/defaultpaths",
2021
"//pkg/util/fxutil",
2122
"@com_github_spf13_cobra//:cobra",
2223
"@org_golang_google_grpc//:grpc",

cmd/agent/subcommands/dogstatsdreplay/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ go_library(
1818
"//comp/dogstatsd/replay/impl",
1919
"//pkg/config/setup",
2020
"//pkg/proto/pbgo/core",
21+
"//pkg/util/defaultpaths",
2122
"//pkg/util/fxutil",
2223
"@com_github_spf13_cobra//:cobra",
2324
"@org_golang_google_grpc//:grpc",

test/new-e2e/tests/agent-subcommands/dogstatsdreplay_nix_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ log_level: DEBUG
3030
dogstatsd_non_local_traffic: true
3131
dogstatsd_tag_cardinality: high
3232
dogstatsd_origin_detection: true
33+
dogstatsd_socket: /var/run/datadog/dsd.socket
3334
`),
3435
),
3536
),

0 commit comments

Comments
 (0)