mirror of
https://github.com/prometheus/prometheus.git
synced 2026-07-15 20:13:08 -04:00
Merge pull request #19104 from anxkhn/patch-4
scrape: fix bucketLimitAppender doc comments
This commit is contained in:
commit
ff724fae81
1 changed files with 3 additions and 3 deletions
|
|
@ -413,7 +413,7 @@ func (app *timeLimitAppender) Append(ref storage.SeriesRef, lset labels.Labels,
|
|||
return ref, nil
|
||||
}
|
||||
|
||||
// bucketLimitAppender limits the number of total appended samples in a batch.
|
||||
// bucketLimitAppender limits the number of buckets in appended native histograms, reducing histogram resolution or returning errBucketLimit when the limit is exceeded.
|
||||
type bucketLimitAppender struct {
|
||||
storage.Appender
|
||||
|
||||
|
|
@ -486,7 +486,7 @@ func (app *maxSchemaAppender) AppendHistogram(ref storage.SeriesRef, lset labels
|
|||
return ref, nil
|
||||
}
|
||||
|
||||
// limitAppender limits the number of total appended samples in a batch.
|
||||
// limitAppenderV2 limits the number of total appended samples in a batch.
|
||||
type limitAppenderV2 struct {
|
||||
storage.AppenderV2
|
||||
|
||||
|
|
@ -520,7 +520,7 @@ func (app *timeLimitAppenderV2) Append(ref storage.SeriesRef, ls labels.Labels,
|
|||
return app.AppenderV2.Append(ref, ls, st, t, v, h, fh, opts)
|
||||
}
|
||||
|
||||
// bucketLimitAppender limits the number of total appended samples in a batch.
|
||||
// bucketLimitAppenderV2 limits the number of buckets in appended native histograms, reducing histogram resolution or returning errBucketLimit when the limit is exceeded.
|
||||
type bucketLimitAppenderV2 struct {
|
||||
storage.AppenderV2
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue