mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-15 08:41:02 +00:00
Remove MetricMaximumRow
This commit is contained in:
parent
a7bfacbee2
commit
d79f04b7b3
2 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue