Skip to content

Commit f4732b3

Browse files
committed
Adding batching of statsd histograms/distributions
Signed-off-by: Pedro Tanaka <[email protected]>
1 parent 5f5388b commit f4732b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/DataDog/datadog-go/v5 v5.3.0 h1:2q2qjFOb3RwAZNU+ez27ZVDwErJv5/VpbBPprz7Z+s8=
2-
github.com/DataDog/datadog-go/v5 v5.3.0/go.mod h1:XRDJk1pTc00gm+ZDiBKsjh7oOOtJfYfglVCmFb8C2+Q=
31
github.com/DataDog/datadog-go/v5 v5.5.0 h1:G5KHeB8pWBNXT4Jtw0zAkhdxEAWSpWH00geHI6LDrKU=
42
github.com/DataDog/datadog-go/v5 v5.5.0/go.mod h1:K9kcYBlxkcPP8tvvjZZKs/m1edNAUFzBbdpTUKfCsuw=
53
github.com/Microsoft/go-winio v0.5.0 h1:Elr9Wn+sGKPlkaBvwu4mTrxtmOp3F3yV9qhaHbXGjwU=

statsd/datadog_backend.go

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ func NewDatadogBackend(endpoint, namespace string, tags []string) (Backend, erro
2424
statsd.WithoutTelemetry(),
2525
statsd.WithoutOriginDetection(),
2626
statsd.WithClientSideAggregation(),
27+
statsd.WithExtendedClientSideAggregation(),
28+
statsd.WithMaxSamplesPerContext(500),
2729
)
2830
if err != nil {
2931
return nil, err

0 commit comments

Comments
 (0)