Skip to content

Commit e91b762

Browse files
committed
Avoid the term 'sparse' where possible
This intends to avoid confusing users by the subtle difference between a native histogram and a sparse bucket. Signed-off-by: beorn7 <beorn@grafana.com>
1 parent d31f13b commit e91b762

File tree

3 files changed

+232
-227
lines changed

3 files changed

+232
-227
lines changed

examples/random/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func main() {
6868
Name: "rpc_durations_histogram_seconds",
6969
Help: "RPC latency distributions.",
7070
Buckets: prometheus.LinearBuckets(*normMean-5**normDomain, .5**normDomain, 20),
71-
SparseBucketsFactor: 1.1,
71+
NativeHistogramBucketFactor: 1.1,
7272
})
7373
)
7474

0 commit comments

Comments
 (0)