-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to github.com/DataDog/datadog-go/v5/statsd (#1080)
This migrates us to the v5 major version channel of DataDog's statsd client. Specifically, we bump to v5.6.0. This was done by running: ``` $ gofmt -w -r '"github.com/DataDog/datadog-go/statsd" -> "github.com/DataDog/datadog-go/v5/statsd"' . $ go mod tidy $ go mod vendor ``` Then, using the new client consturction api. We set the namespace and don't set the buflen size anymore, as the default is now optimized for each transport. See statsd.WithBufferPoolSize for more information on that. Along the way, we updated our mockstatsd with mockgen. See the command in that comments of that generated file to reproduce that work.
- Loading branch information
Showing
46 changed files
with
2,942 additions
and
1,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 0 additions & 82 deletions
82
vendor/github.com/DataDog/datadog-go/statsd/buffered_metric_context.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.