timezoner icon indicating copy to clipboard operation
timezoner copied to clipboard

collect, store, view, notify on metrics

Open laralove143 opened this issue 1 year ago • 0 comments

all/most of this can be extracted to a lib, why is this an issue here then? idk

  1. collect and store metrics in a db periodically:
    • [ ] gateway latency
    • [ ] discord http latency (#47)
    • [ ] discord http ratelimit hits
  2. automate graphs:
    • [ ] create line graphs from all data periodically
    • [ ] serve them over prometheus
  3. notify:
    • [ ] periodically check the average of metrics in the last period, if it's above manually set thresholds, execute a webhook
    • [ ] periodically execute a webhook with the prometheus link (basically a reminder)

laralove143 avatar Apr 13 '23 22:04 laralove143