Werk #17320: azure usage details: increase API page size and specify ClientType
Component | Checks & agents | ||||||
Title | azure usage details: increase API page size and specify ClientType | ||||||
Date | Sep 30, 2024 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
The 429 (Too Many Requests)
error was frequently raised when monitoring Azure usage details.
This problem was caused by the high number of queries, performed to retrieve the usage details,
due to pagination with a limited number of items per page, and due to the ClientType
quota
limit (see: https://learn.microsoft.com/en-us/answers/questions/1340993/exception-429-too-many-requests-for-azure-cost-man).
This werk increases the number of items retrieved by each individual API call
and specifies a ClientType
in the request header.