How to use Prometheus to efficiently detect anomalies at scale