Skip to content

Commit

Permalink
Avoid the term 'sparse' where possible
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
beorn7 committed Oct 27, 2022
1 parent d31f13b commit e91b762
Show file tree
Hide file tree
Showing 3 changed files with 232 additions and 227 deletions.
2 changes: 1 addition & 1 deletion examples/random/main.go
Expand Up @@ -68,7 +68,7 @@ func main() {
Name: "rpc_durations_histogram_seconds",
Help: "RPC latency distributions.",
Buckets: prometheus.LinearBuckets(*normMean-5**normDomain, .5**normDomain, 20),
SparseBucketsFactor: 1.1,
NativeHistogramBucketFactor: 1.1,
})
)

Expand Down

0 comments on commit e91b762

Please sign in to comment.