* Monitoring: RGW S3 Analytics: A new Grafana dashboard is now available, enabling you to
visualize per bucket and user analytics data, including total GETs, PUTs, Deletes,
Copies, and list metrics.
+* RBD: `Image::access_timestamp` and `Image::modify_timestamp` Python APIs now
+ return timestamps in UTC.
>=18.0.0
ret = rbd_get_access_timestamp(self.image, ×tamp)
if ret != 0:
raise make_ex(ret, 'error getting access timestamp for image: %s' % (self.name))
- return datetime.fromtimestamp(timestamp.tv_sec)
+ return datetime.utcfromtimestamp(timestamp.tv_sec)
@requires_not_closed
def modify_timestamp(self):
ret = rbd_get_modify_timestamp(self.image, ×tamp)
if ret != 0:
raise make_ex(ret, 'error getting modify timestamp for image: %s' % (self.name))
- return datetime.fromtimestamp(timestamp.tv_sec)
+ return datetime.utcfromtimestamp(timestamp.tv_sec)
@requires_not_closed
def flatten(self, on_progress=None):