@@ -39,7 +39,7 @@ const quantileLabel = "quantile"
39
39
// A typical use-case is the observation of request latencies. By default, a
40
40
// Summary provides the median, the 90th and the 99th percentile of the latency
41
41
// as rank estimations. However, the default behavior will change in the
42
- // upcoming v0.10 of the library. There will be no rank estimations at all by
42
+ // upcoming v1.0.0 of the library. There will be no rank estimations at all by
43
43
// default. For a sane transition, it is recommended to set the desired rank
44
44
// estimations explicitly.
45
45
//
@@ -61,7 +61,7 @@ type Summary interface {
61
61
// DefObjectives are the default Summary quantile values.
62
62
//
63
63
// Deprecated: DefObjectives will not be used as the default objectives in
64
- // v0.10 of the library. The default Summary will have no quantiles then.
64
+ // v1.0.0 of the library. The default Summary will have no quantiles then.
65
65
var (
66
66
DefObjectives = map [float64 ]float64 {0.5 : 0.05 , 0.9 : 0.01 , 0.99 : 0.001 }
67
67
@@ -86,7 +86,7 @@ const (
86
86
// mandatory to set Name to a non-empty string. While all other fields are
87
87
// optional and can safely be left at their zero value, it is recommended to set
88
88
// a help string and to explicitly set the Objectives field to the desired value
89
- // as the default value will change in the upcoming v0.10 of the library.
89
+ // as the default value will change in the upcoming v1.0.0 of the library.
90
90
type SummaryOpts struct {
91
91
// Namespace, Subsystem, and Name are components of the fully-qualified
92
92
// name of the Summary (created by joining these components with
@@ -128,7 +128,7 @@ type SummaryOpts struct {
128
128
// set it to an empty map (i.e. map[float64]float64{}).
129
129
//
130
130
// Note that the current value of DefObjectives is deprecated. It will
131
- // be replaced by an empty map in v0.10 of the library. Please
131
+ // be replaced by an empty map in v1.0.0 of the library. Please
132
132
// explicitly set Objectives to the desired value to avoid problems
133
133
// during the transition.
134
134
Objectives map [float64 ]float64
0 commit comments