We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5486764 commit 3998a67Copy full SHA for 3998a67
prometheus/summary.go
@@ -121,7 +121,9 @@ type SummaryOpts struct {
121
Objectives map[float64]float64
122
123
// MaxAge defines the duration for which an observation stays relevant
124
- // for the summary. Must be positive. The default value is DefMaxAge.
+ // for the summary. Only applies to pre-calculated quantiles, does not
125
+ // apply to _sum and _count. Must be positive. The default value is
126
+ // DefMaxAge.
127
MaxAge time.Duration
128
129
// AgeBuckets is the number of buckets used to exclude observations that
0 commit comments