-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
At the moment no messages are inserted for the time when metricity is not available, rendering statistics during that time empty.
It would be nice if metricity could backfill this data on startup. For example, we could check something like SELECT channel_id, max(id::int) FROM messages GROUP BY channel_id, iterate over the history of each channel using after=message_id, and then insert any messages. From my understanding duplicate inserts should mostly be a no-op (possibly needing a ON CONFLICT DO IGNORE).
Metadata
Metadata
Assignees
Labels
No labels