StateStoreMetrics¶
StateStoreMetrics
holds the performance metrics of StateStores and SymmetricHashJoinStateManager.
Creating Instance¶
StateStoreMetrics
takes the following to be created:
- Number of Keys
- Memory used (in bytes)
- Custom Metrics
StateStoreMetrics
is created when:
HDFSBackedStateStore
is requested for metricsRocksDBStateStore
is requested for metricsStateStoreMetrics
is requested to combine metricsSymmetricHashJoinStateManager
is requested for metrics
Custom Metrics¶
StateStoreMetrics
is given StateStoreCustomMetrics and their current values when created.