Skip to content

Commit

Permalink
[querier] add record count for stats
Browse files Browse the repository at this point in the history
  • Loading branch information
taloric committed Jul 2, 2023
1 parent 1da95e4 commit ee5fd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/querier/statsd/statsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *Counter) WriteCk(qc *ClickhouseCounter) {
defer c.writeCkM.Unlock()
c.ck.ResponseSize += qc.ResponseSize
c.ck.RowCount += qc.RowCount
c.ck.ColumnCount += qc.ColumnCount
c.ck.ColumnCount += qc.ColumnCount * qc.RowCount
c.ck.QueryCount++

c.ck.QueryTimeSum += qc.QueryTime
Expand Down

0 comments on commit ee5fd5f

Please sign in to comment.