File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,17 @@ func main() {
53
53
},
54
54
[]string {"service" },
55
55
)
56
- // The same as above, but now as a histogram, and only for the normal
57
- // distribution. The buckets are targeted to the parameters of the
58
- // normal distribution, with 20 buckets centered on the mean, each
59
- // half-sigma wide.
56
+ // The same as above, but now as a histogram, and only for the
57
+ // normal distribution. The histogram features both conventional
58
+ // buckets as well as sparse buckets, the latter needed for the
59
+ // experimental native histograms (ingested by a Prometheus
60
+ // server v2.40 with the corresponding feature flag
61
+ // enabled). The conventional buckets are targeted to the
62
+ // parameters of the normal distribution, with 20 buckets
63
+ // centered on the mean, each half-sigma wide. The sparse
64
+ // buckets are always centered on zero, with a growth factor of
65
+ // one bucket to the text of (at most) 1.1. (The precise factor
66
+ // is 2^2^-3 = 1.0905077...)
60
67
rpcDurationsHistogram = prometheus .NewHistogram (prometheus.HistogramOpts {
61
68
Name : "rpc_durations_histogram_seconds" ,
62
69
Help : "RPC latency distributions." ,
You can’t perform that action at this time.
0 commit comments