storage: store recording timestamp

This patch adds a record_at field in the sample that are stored that
indicates when the timestamp has been stored in the database.

Change-Id: Ia0ff8bd07fd811fe8d3050d30971a05a277798d0
Blueprint: storage-sample-timestamp
This commit is contained in:
Julien Danjou
2014-01-30 15:45:16 +01:00
parent 2863ab86ac
commit 0c51a0a686
10 changed files with 95 additions and 30 deletions

View File

@@ -560,6 +560,7 @@ class Connection(base.Connection):
project_id=s.project_id,
resource_id=s.resource_id,
timestamp=s.timestamp,
recorded_at=s.recorded_at,
resource_metadata=s.resource_metadata,
message_id=s.message_id,
message_signature=s.message_signature,