A metric supports data retention (TTL); the swagger docs say this is number
of days.
-
https://github.com/hawkular/hawkular-metrics/blob/5eb13c6dbddafdcc0fcd5eb...
-
http://www.hawkular.org/docs/rest/rest-metrics.html#Metric
There is also a default TTL which is in days but converted internally into
seconds:
-
https://github.com/hawkular/hawkular-metrics/blob/39389e4bf5a988ef01cbad8...
Looking at when metrics are created, i can't see any conversion from days
to seconds for metrics; so any data i create with a Metric DataRetention of
30 "days" gets removed straight away.
So my question is:
- Are the swagger docs wrong?
or
- Should the model convert to seconds?
Or...have i missed something... ?
Cheers.