ddtrace/tracer: Add test to ensure global config inherits statsd address when configured with tracer.WithDogstatsdAddress
What does this PR do?
Ensure that the address provided to the tracer via the WithDogstatsdAddress option is passed along to the globalconfig, for contribs to use. This includes a unix domain socket path.
Motivation
Cover a test case that was not previously covered
Reviewer's Checklist
- [ ] Changed code has unit tests for its functionality at or near 100% coverage.
- [ ] System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
- [ ] There is a benchmark for any new code, or changes to existing code.
- [ ] If this interacts with the agent in a new way, a system test has been added.
- [ ] Add an appropriate team label so this PR gets put in the right place for the release notes.
- [ ] Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.
Unsure? Have a question? Request a review!
Benchmarks
Benchmark execution time: 2024-05-09 20:52:54
Comparing candidate commit 847f04701a93a5affb4ddede62be2f29dc4bcaf4 in PR branch mtoff/dbstats-uds with baseline commit 3a426cad6b642bc0dab36d49c02f8e09b40529e5 in branch main.
Found 0 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 1 unstable metrics.
This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR was closed because it has been open for 30 days with no activity.
@mtoffl01 Do you want to merge this PR?
LGTM