mirror of
				https://github.com/prometheus/prometheus.git
				synced 2025-10-31 08:21:16 +01:00 
			
		
		
		
	Merge pull request #11851 from jerry-shao/main
tsdb: Fixed typo in Histogram
This commit is contained in:
		
						commit
						46a7a2c911
					
				| @ -590,9 +590,9 @@ func (a *HistogramAppender) Recode( | ||||
| 	return hc, app | ||||
| } | ||||
| 
 | ||||
| // RecodeHistogramm converts the current histogram (in-place) to accommodate an expansion of the set of | ||||
| // RecodeHistogram converts the current histogram (in-place) to accommodate an expansion of the set of | ||||
| // (positive and/or negative) buckets used. | ||||
| func (a *HistogramAppender) RecodeHistogramm( | ||||
| func (a *HistogramAppender) RecodeHistogram( | ||||
| 	h *histogram.Histogram, | ||||
| 	pBackwardInter, nBackwardInter []Interjection, | ||||
| ) { | ||||
|  | ||||
| @ -1172,7 +1172,7 @@ func (s *memSeries) appendHistogram(t int64, h *histogram.Histogram, appendID ui | ||||
| 		if len(pBackwardInter)+len(nBackwardInter) > 0 { | ||||
| 			h.PositiveSpans = pMergedSpans | ||||
| 			h.NegativeSpans = nMergedSpans | ||||
| 			app.RecodeHistogramm(h, pBackwardInter, nBackwardInter) | ||||
| 			app.RecodeHistogram(h, pBackwardInter, nBackwardInter) | ||||
| 		} | ||||
| 		// We have 3 cases here | ||||
| 		// - !okToAppend -> We need to cut a new chunk. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user