Re:Monitoring Cloudflare's edge network with Prometheus
by bbrazil on Tuesday September 26, 2017 @03:07AM
(#15336773)
> But yes it is possible to miss some requests if a node goes down without Prometheus collecting the latest stats.
The rate() function allows for this, you'll get the right answer on average.
But yes it is possible to miss some requests if a node goes down without Prometheus collecting the latest stats.
But as the parent said, if you need such totals it might be better to store them persistently. Also I do not know a scenario where the total number of requests will trigger an alert.