Merge pull request #18304 from crawfordxx/fix-typos-in-comments

Fix typos in comments and metric help strings
This commit is contained in:
Björn Rabenstein 2026-04-01 13:45:59 +02:00 committed by GitHub
commit 4280662cdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -325,7 +325,7 @@ func newQueueManagerMetrics(r prometheus.Registerer, rn, e string) *queueManager
Namespace: namespace,
Subsystem: subsystem,
Name: "max_samples_per_send",
Help: "The maximum number of samples to be sent, in a single request, to the remote storage. Note that, when sending of exemplars over remote write is enabled, exemplars count towards this limt.",
Help: "The maximum number of samples to be sent, in a single request, to the remote storage. Note that, when sending of exemplars over remote write is enabled, exemplars count towards this limit.",
ConstLabels: constLabels,
})

View file

@ -171,7 +171,7 @@ type LeveledCompactorOptions struct {
// MergeFunc is used for merging series together in vertical compaction. By default storage.NewCompactingChunkSeriesMerger(storage.ChainedSeriesMerge) is used.
MergeFunc storage.VerticalChunkSeriesMergeFunc
// BlockExcludeFilter is used to decide which blocks are exluded from compactions.
// BlockExcludeFilter is used to decide which blocks are excluded from compactions.
BlockExcludeFilter BlockExcludeFilterFunc
// EnableOverlappingCompaction enables compaction of overlapping blocks. In Prometheus it is always enabled.

View file

@ -775,7 +775,7 @@ func (h *Head) Init(minValidTime int64) error {
snapIdx, snapOffset = -1, 0
// If this fails, data will be recovered from WAL.
// Hence we wont lose any data (given WAL is not corrupt).
// Hence we won't lose any data (given WAL is not corrupt).
mmappedChunks, oooMmappedChunks, lastMmapRef, err = h.removeCorruptedMmappedChunks(err)
if err != nil {
return err