Skip to content

Commit

Permalink
Fix metric name for chain state size (#517)
Browse files Browse the repository at this point in the history
## Describe your changes and provide context
This PR fixes a metric typo for iavl state size

## Testing performed to validate your change
  • Loading branch information
yzang2019 authored Jun 14, 2024
1 parent b745c48 commit bf9783f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storev2/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error {
if err == commonerrors.ErrorExportDone {
for k, v := range keySizePerStore {
telemetry.SetGaugeWithLabels(
[]string{"iavl", "store", "total_key_keys"},
[]string{"iavl", "store", "total_key_bytes"},
float32(v),
[]metrics.Label{telemetry.NewLabel("store_name", k)},
)
Expand Down

0 comments on commit bf9783f

Please sign in to comment.