diff --git a/model/histogram/histogram.go b/model/histogram/histogram.go index 0a0d0800a..d2063d77f 100644 --- a/model/histogram/histogram.go +++ b/model/histogram/histogram.go @@ -33,7 +33,7 @@ import ( // Positive bucket indices → | | | ... -1 0 1 2 3 // Negative bucket indices → 3 2 1 0 -1 ... // -// Wich bucket indices are actually used is determined by the spans. +// Which bucket indices are actually used is determined by the spans. type Histogram struct { // Currently valid schema numbers are -4 <= n <= 8. They are all for // base-2 bucket schemas, where 1 is a bucket boundary in each case, and diff --git a/tsdb/chunkenc/chunk.go b/tsdb/chunkenc/chunk.go index b9c90904d..af5229985 100644 --- a/tsdb/chunkenc/chunk.go +++ b/tsdb/chunkenc/chunk.go @@ -128,7 +128,7 @@ const ( ValNone ValueType = iota // No value at the current position. ValFloat // A simple float, retrieved with At. ValHistogram // A histogram, retrieve with AtHistogram, but AtFloatHistogram works, too. - ValFloatHistogram // A floating-point histogram, retrive with AtFloatHistogram. + ValFloatHistogram // A floating-point histogram, retrieve with AtFloatHistogram. ) func (v ValueType) String() string {