[openstack-dev] [ceilometer] database timestamps timezones

Nick Barcet nick.barcet at canonical.com
Fri Nov 2 12:44:38 UTC 2012


On 11/02/2012 04:00 AM, John Tran wrote:
> Looking over https://bugs.launchpad.net/ceilometer/+bug/1048647, we'd
> like some feedback on timezone aware datetimes for the timestamp
> fields (in Meters and Resources tables).  From what I understand, some
> backends do not support timezone in timestamp type fields , such as
> MongoDB and Postgres.  I think the way Nova handles it is that it
> expects all timestamps in the database is expected to be UTC.

+100 on normalizing on UTC. Makes everyone's life so much easier.

--
Nick Barcet <nick.barcet at canonical.com>
aka: nijaba, nicolas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121102/20e11c9e/attachment.pgp>


More information about the OpenStack-dev mailing list