AutoCollector.this

this(Duration interval = dur!"seconds"(1))

Creates a new AutoCollector with the specified collection interval.

Parameters

intervalThe interval between metric collections (default: 1 second).