Prometheus scrape 401 token limit exceeded during canary rollout
Problem – 401 Token Limit Exceeded During Canary Scrape During a staged rollout of a new microservice, Prometheus began reporting scrape failures with the following error: error scraping target “http://service-canary:9090/metrics”: unexpected status code 401 Unauthorized (token limit exceeded) Additional log entries from the Prometheus server process show the token acquisition step failing: 2024-08-12T14:23:07Z level=error msg=”failed to fetch bearer … Read more