Skip to content

Commit

Permalink
Switch to ddsketch sparse constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Callum Styan <[email protected]>
  • Loading branch information
cstyan committed Jan 31, 2024
1 parent 06bb209 commit 1d884d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logql/sketch/quantile.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const relativeAccuracy = 0.01
var ddsketchPool = sync.Pool{
New: func() any {
m, _ := mapping.NewCubicallyInterpolatedMapping(relativeAccuracy)
return ddsketch.NewDDSketchFromStoreProvider(m, store.DefaultProvider)
return ddsketch.NewDDSketchFromStoreProvider(m, store.SparseStoreConstructor)
},
}

Expand Down

0 comments on commit 1d884d8

Please sign in to comment.