You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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 usingafter=message_id
, and then insert any messages. From my understanding duplicate inserts should mostly be a no-op (possibly needing aON CONFLICT DO IGNORE
).The text was updated successfully, but these errors were encountered: