Skip to content

fix: azure spot metrics by region is causing rate limit issues invokung azure api#634

Merged
anjannath merged 3 commits into
redhat-developer:mainfrom
adrianriobo:fix-573
Oct 14, 2025
Merged

fix: azure spot metrics by region is causing rate limit issues invokung azure api#634
anjannath merged 3 commits into
redhat-developer:mainfrom
adrianriobo:fix-573

Conversation

@adrianriobo
Copy link
Copy Markdown
Collaborator

this commit will use a single query to get the information and the split it across each regions calculation. This is a similar behavior as we had before the spot module refactor and should fix the rate limit issues.

Fixes #573.

…ng azure api

this commit will use a single query to get the information and the split it across each regions calculation. This is a similar behavior as we had before the spot module refactor and should fix the rate limit issues. Fixes redhat-developer#573.

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
This commit removes the error in case it is not set, as it may is set or not, on Azure is not mandatory, also in case not set mapt will print anf Info message telling how to set it. Otherwise the change introduced redhat-developer@17f871c would break backwards compatibility.

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
previously all prices were printed no matter the log level, this commit ensures those information is only printed if debug is enable

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
@adrianriobo adrianriobo requested a review from anjannath October 13, 2025 12:04
@adrianriobo
Copy link
Copy Markdown
Collaborator Author

@anjannath can you quick check on this as PD is complaining about it, I tested with Windows and it worked as expected also I added a fix for default location which was breaking backwards if no ENV was set

@adrianriobo
Copy link
Copy Markdown
Collaborator Author

Also if this goes in, I will release a new version for mapt

@adrianriobo
Copy link
Copy Markdown
Collaborator Author

^^ @cbr7 @odockal this PR should fix your issue if you can test this PR

ghcr.io/redhat-developer/mapt:pr-634

Once merged I will create a new v0.9.9 release

@adrianriobo adrianriobo requested review from cbr7 and odockal October 13, 2025 14:23
@anjannath anjannath merged commit 6227813 into redhat-developer:main Oct 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rate limit reached on multiple workflow runs

2 participants