AutoCollector.setMaxAge

void setMaxAge(Duration maxAge)

Sets the retention duration for all collectors.

Parameters

maxAgeThe maximum age of data to retain.