We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d8db8 commit 04bdfd4Copy full SHA for 04bdfd4
metrics/datadog.go
@@ -31,6 +31,9 @@ func WithoutTelemetry() Option {
31
}
32
33
34
+// WithStatsd sets a custom configured statsd client. This lets you set any
35
+// options that aren't directly supported by the metrics package. When used,
36
+// this ignores the address and namespace arguments to NewDataDogClient.
37
func WithStatsd(s *statsd.Client) Option {
38
return func(o *Options) error {
39
o.Statsd = s
0 commit comments