Remove MetricMaximumRow

This commit is contained in:
Alan Bernstein 2020-04-10 11:42:21 -05:00 committed by Matt Jaffee
parent a7bfacbee2
commit d79f04b7b3
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF
2 changed files with 0 additions and 3 deletions

View file

@ -208,7 +208,6 @@ func (f *fragment) Open() error {
// Read last bit to determine max row.
f.maxRowID = f.storage.Max() / ShardWidth
f.stats.Gauge(MetricMaximumRow, float64(f.maxRowID), 1.0)
return nil
}(); err != nil {
f.close()
@ -581,7 +580,6 @@ func (f *fragment) unprotectedSetBit(rowID, columnID uint64) (changed bool, err
// Update row count if they have increased.
if rowID > f.maxRowID {
f.maxRowID = rowID
f.stats.Gauge(MetricMaximumRow, float64(f.maxRowID), 1.0)
}
return changed, nil

View file

@ -28,7 +28,6 @@ const (
MetricRowBSI = "query_row_bsi_total"
MetricSetRowAttrs = "query_setrowattrs_total"
MetricSetColumnAttrs = "query_setcolumnattrs_total"
MetricMaximumRow = "shard_maximum_row"
MetricSetBit = "set_bit_total"
MetricClearBit = "clear_bit_total"
MetricImportingN = "importing_total"