You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup(golang/.../vstorage/keeper): report absolute values for metrics increase/decrease (#11101)
closes: #11062
## Description
We need to report absolute values for vstorage metrics increase/decrease as requested in #11063 (review)
### Security Considerations
N/A
### Scaling Considerations
N/A
### Documentation Considerations
`store_size_increase` and `store_size_decrease` metrics represent total writes and deletes *issued* respectively, which may differ from the total number of bytes committed/freed to/from the store due to the store's internal implementation.
### Testing Considerations
`vstorage metrics` test passed:
```
2025-03-11T16:06:25.744Z shutdown: Shutting down cleanly...
2025-03-11T16:06:25.745Z shutdown: Process terminated!
make: *** [Makefile:155: scenario2-run-chain] Error 98
✔ vstorage metrics (1m 14.8s)
ℹ query vstorage path published.wallet.agoric1cuh05y5l2uhphv2995k5qhdg5crvs396ud7rv9 exits successfully
ℹ metric start values: {
'store_size_decrease{storeKey="vstorage"}': 1106,
'store_size_increase{storeKey="vstorage"}': 1145,
}
ℹ query vstorage path published.wallet.agoric1cuh05y5l2uhphv2995k5qhdg5crvs396ud7rv9 exits successfully
ℹ provisioned wallet agoric1cuh05y5l2uhphv2995k5qhdg5crvs396ud7rv9 is published
ℹ metric stop values: {
'store_size_decrease{storeKey="vstorage"}': 2180,
'store_size_increase{storeKey="vstorage"}': 3585,
}
─
1 test passed
Done in 654.27s.
```
### Upgrade Considerations
N/A
0 commit comments