mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 12:01:06 +02:00
Fix typos in comments and metric help strings
- limt -> limit (storage/remote/queue_manager.go metric help text) - exluded -> excluded (tsdb/compact.go comment) - wont -> won't (tsdb/head.go comment) Signed-off-by: crawfordxx <crawfordxx@users.noreply.github.com>
This commit is contained in:
parent
8b25b26a76
commit
afaff7e116
@ -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,
|
||||
})
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -757,7 +757,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user