-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Migrate to new Azure SDK #2209
Comments
That is the SDK of the new data-plane API which is tracked in #2284 We'd need to figure out which one provides the same capabilities to fetch metrics through ARM for this issue to not cause breaking change (because new API is billed) |
I believe both single resource and batch queries are supported under the same package. See this section of the README. It should provide the same capability, outside of the billing issue you mentioned. I found the pricing model for the new SDK, presumably billed under Do the old and new SDKs go through separate Azure Monitor APIs? I thought there's only one REST API for single-resource metric scraping |
The mental roadmap I had before for batch scraping was
However, I wonder if things should change if we think it doesn't make sense to use the new SDK for single-resource scraping due to billing issues. Perhaps just use the SDK for batch scraping since that wouldn't be a breaking change? Wdyt? |
Thinking more about it, why would billing be changed exactly? I'd think the new SDK is, most likely, purely a client side change that does not affect which Azure Monitor API gets used and how those API calls are billed right? There is only one REST API for single-resource scraping anyways. In any case, I'm reaching out to our Microsoft rep for an answer |
Sorry for the slow reply.
It is simple, it was for free as the old SDK queries metrics through ARM. This new package, however, is specific to Azure Monitor and most probably uses the new data-plane API which is billed though. |
So how I see it is:
Once this is in place, we deprecate the old way and start flipping the feature flag to use new charged API in a next version given this is better for Promitor but has cost implications. |
|
@hkfgo Do you know if you'll have time next week to complete the other PRs? I'd like to cut a release next week. |
Hey I should be able get the SDK migration PRs over the hump. To put feature flag under |
This is done |
Migrate to new Azure SDK as the older ones are deprecated (see azure-deprecation/dashboard#217)
The text was updated successfully, but these errors were encountered: