Configure the OS Sampling Interval

Use the ahf.insights.os-sampling-interval property to configure the operating system sampling interval for AHF Insights based on the report duration.

ahf configuration set --property ahf.insights.os-sampling-interval --value T:I[,T:I...]

Where:

  • T specifies the report duration upper bound, in hours.
  • I specifies the sampling interval, in seconds.
  • Specify multiple T:I pairs separated by commas to define different sampling intervals for different report durations.

For example:

ahf configuration set --property ahf.insights.os-sampling-interval --value 4:5,8:15

In this example, the sampling interval is 5 seconds for report durations up to 4 hours and 15 seconds for report durations up to 8 hours.