At some point support for specifying retention settings was removed from the REST API. In Tenant.java we currently have,
And based on the commit message, I think this was done because the RetentionSettings class probably does not map very easily with Jackson. With
HWKMETRICS-113, we have decoupled the core model from the REST model. In the REST model, the retention settings can be a simple map that allows entries for gauges and for availability for now since those are the only metric types we currently support.