Skip to content

fix(metrics): round Redis TimeSeries timestamps to bucket boundaries#151

Merged
pavelzotikov merged 1 commit into
masterfrom
fix/redis-ts-bucket-timestamps
Apr 14, 2026
Merged

fix(metrics): round Redis TimeSeries timestamps to bucket boundaries#151
pavelzotikov merged 1 commit into
masterfrom
fix/redis-ts-bucket-timestamps

Conversation

@pavelzotikov

Copy link
Copy Markdown
Contributor

Use truncated UTC timestamps (start of minute/hour/day) when writing
to TS keys so ON_DUPLICATE SUM correctly accumulates events within
the same bucket instead of creating a separate sample per event.

@pavelzotikov pavelzotikov merged commit 9cf0d57 into master Apr 14, 2026
5 checks passed
@pavelzotikov pavelzotikov deleted the fix/redis-ts-bucket-timestamps branch April 14, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants