18 from ..metric
import Metric
19 from .....statistics
import getDiskRead
22 class MetricDiskRead(Metric):
24 def __init__(self) -> None:
25 self.previousValue = getDiskRead()
27 def extract(self) -> float:
28 currentValue = getDiskRead()
29 diff = currentValue - self.previousValue
31 self.previousValue = currentValue