Closed dcbrown16 closed 3 years ago
Thanks.
Thanks @danimir! I understood that the platform metrics are offered per instance, not per DB in MI. This Intelligent Insights page (that I reported the issue on) has a "Metrics" section - what are we getting there? https://docs.microsoft.com/en-us/azure/sql-database/sql-database-intelligent-insights-use-diagnostics-log#metrics DurationIncreaseSeconds and the other two examples that are mentioned at that link don't match any of the platform metrics offered for MI that we see here. https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported#microsoftsqlmanagedinstances And am I understanding correctly that these platform metrics are NOT shown through Azure Monitor or the SQL MI portal blade? I'm assisting a customer with guidance but unfortunately I don't have an MI at hand myself and I didn't see any screenshots of the Metrics interface.
@dcbrown16 You are making an assumption that instance level metrics and intelligent insights "metrics field in JSON" have a relationships - they do not. You cannot compare them the way you are describing as they are not related. We have also documented instance level metrics and intelligent insights as separate pages purposely to make the separation between them. Intelligent Insights is a separate product, not available in the portal, and only consumable through SQL Analytics. Think of it as a completely separate system from the standard raw instance metrics. Intelligent Insight "metrics" in JSON is populated with 14-15 detectable performance issues that are documented on this page. This is not a raw metric, but an assessment from AI if there is a performance issue on your database, described in a human language. That's it. All available telemetry is already documented and there is nothing more available other than what is already stated. Hope this helps. Thanks.
Sorry @danimir, I understand that platform metrics and Intelligent Insights are not the same. I'm having trouble understanding the "Metrics" section on the page I reported this issue on, then.
That section gives these three possible values.
issue metric type – possible values: DurationIncreaseSeconds, CriticalErrorCount, WaitingSeconds
I don't see how that lines up with the categories of issues on the other page you linked.
The closest I see on that page is the intro sentence stating "Intelligent Insights automatically detects performance issues with SQL Database and Managed Instance databases based on query execution wait times, errors, or time-outs."
So should we understand that all of the 14-15 performance issue categories also include one or more of these three metric values? Are the "metrics" to be seen as supporting evidence for how Intelligent Insights concluded what the performance issue is, like a high value of WaitingSeconds leads to Increased Wait Statistic (just as an example)?
Intelligent insights include a mix of metrics to determine performance, amongst which the ones you mention as well, and we use Machine learning. We are still prototyping this and are not documenting the algorithm behind Intelligent Insights.
What metrics exactly are available through Intelligent Insights logs? In particular, as shown here Managed Instance databases do not support the basic metrics or basic logs, but they do support Intelligent Insights. https://docs.microsoft.com/en-us/azure/sql-database/sql-database-metrics-diag-logging Can we get info such as per DB IOPS/CPU/memory for Managed Instance from these Intelligent Insights logs?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.