Commit Graph

2 Commits

Author SHA1 Message Date
Raja Subramanian
a3f43340ec Use custom histogram buckets. (#1098)
Setting 4 buckets with exponential in range 1, 100 meant the boundaries
were at 1, 4.64, 21.53, 100. Because of that, the p99 looked
misleadingly large.
2025-06-07 23:01:33 -07:00
Raja Subramanian
2227c44329 Add prom metrics for webhook dispatch. (#1095)
* Add prom metrics for webhook dispatch.

1. success/failure/drop counter.
2. queue length histogram.
   - doing this only for resource_url_notifier which does a per room
     queue as queue length is easily available. This is the one
     currently in use.
   - worker pool based notifier will need a change in `core` package to
     return a queue length when enqueuing.

* promauto goodness
2025-06-04 13:57:15 -07:00