diff --git a/succbone/succd/process.go b/succbone/succd/process.go index 4906963..f63748b 100644 --- a/succbone/succd/process.go +++ b/succbone/succd/process.go @@ -123,6 +123,8 @@ func (d *daemon) processOnce(_ context.Context) error { d.aboveRough.process(float64(mbar)) d.aboveHigh.process(float64(mbar)) + klog.Infof("rate of change: %f", d.piraniRateOfChange()) + // max rate of 1.0 in 500 ms because ringbuffer holds 5 values if d.piraniRateOfChange() > 2.0 { if !d.failsafe {