Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_quota_limit and azurerm_quota_current return wrong results with scope="machinelearningservices" and quota=~"standard.*|Standard.*" #83

Open
fiferrando opened this issue Jan 9, 2024 · 2 comments

Comments

@fiferrando
Copy link

Hi,

The metric azurerm_quota_limit returns strange results, -1, with the parameters specified in the title. These limits are obviously different on Azure (0 or positives). The permission of the service principal used by the exporter is Reader on Azure management group containing all the subscriptions. An image with example comparison follows:

image

Thank you in advance for all the help,
Best regards.

Filippo Ferrando

@fiferrando
Copy link
Author

Hi,

I have un update: azure_quota_current metric is also giving wrong results. Two files are attached to this comment:

  • az-portal.csv: it shows two rows containing the correct current and limit values for two quotas
  • az-exporter.csv: it shows the same two quotas retrieved by the exporter; these results are a combination of the values returned by
    • azurerm_quota_current{scope="machinelearningservices"} * on(subscriptionID) group_left(subscriptionName) azurerm_subscription_info
    • azurerm_quota_limit{scope="machinelearningservices"} * on(subscriptionID) group_left(subscriptionName) azurerm_subscription_info)

The examples shown only regards quotas which name starts with standard or Standard.

I'm going to edit the title of the issue accordingly.

@fiferrando fiferrando changed the title azurerm_quota_limit returns -1 with scope="machinelearningservices" and quota=~"standard.*|Standard.*" azurerm_quota_limit and azurerm_quota_current return wrong results with scope="machinelearningservices" and quota=~"standard.*|Standard.*" Jan 17, 2024
@fiferrando
Copy link
Author

Hi,

May you please give me an update on this problem?

Thank you in advance for all the help,
Best regards.

Filippo Ferrando

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

No branches or pull requests

1 participant