| 1839 | } |
| 1840 | |
| 1841 | type HistogramAggregator struct { |
| 1842 | ss map[string]histSeries |
| 1843 | qs []float64 |
| 1844 | intervalMapper IntervalMapper |
| 1845 | exemplarLimit uint32 |
| 1846 | // Reusable buffer for all label processing |
| 1847 | labelBuffer Labels |
| 1848 | exemplarBucketsCreator func() bucketSet |
| 1849 | } |
| 1850 | |
| 1851 | func NewHistogramAggregator(req *tempopb.QueryRangeRequest, qs []float64, exemplarLimit uint32) *HistogramAggregator { |
| 1852 | return &HistogramAggregator{ |
nothing calls this directly
no outgoing calls
no test coverage detected