core: type observability timestamps

This commit is contained in:
a.tolmachev
2026-04-19 07:53:15 +00:00
parent 153f9cb108
commit 899440fd8a
6 changed files with 61 additions and 11 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ pub struct UsageRollupRecord {
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageTimelinePoint {
pub bucket_start: String,
#[serde(with = "time::serde::rfc3339")]
pub bucket_start: OffsetDateTime,
pub calls_ok: u64,
pub calls_error: u64,
}