timezoner
timezoner copied to clipboard
collect, store, view, notify on metrics
all/most of this can be extracted to a lib, why is this an issue here then? idk
- collect and store metrics in a db periodically:
- [ ] gateway latency
- [ ] discord http latency (#47)
- [ ] discord http ratelimit hits
- automate graphs:
- [ ] create line graphs from all data periodically
- [ ] serve them over prometheus
- 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)