Skip to content

Commit

Permalink
fix bug when merging query stats for chunkFetchDurationSum
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed Sep 20, 2023
1 parent 2bc12a5 commit 3ffd4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -3655,7 +3655,7 @@ func (s queryStats) merge(o *queryStats) *queryStats {
s.ChunksFetchedSizeSum += o.ChunksFetchedSizeSum
s.chunksFetchCount += o.chunksFetchCount
s.ChunksFetchDurationSum += o.ChunksFetchDurationSum
s.ChunksDownloadLatencySum += s.ChunksDownloadLatencySum
s.ChunksDownloadLatencySum += o.ChunksDownloadLatencySum

s.GetAllDuration += o.GetAllDuration
s.mergedSeriesCount += o.mergedSeriesCount
Expand Down

0 comments on commit 3ffd4a0

Please sign in to comment.