Werk #17320: azure usage details: increase API page size and specify ClientType

Komponente Checks & agents
Titel azure usage details: increase API page size and specify ClientType
Datum 30.09.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p36 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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.

Zur Liste aller Werks