Getting peak load for Azure MySQL service from Azure Log Analytics - azure

I am trying to find peak CPU usage and peak memory usage for Azure MySQL service using Log Analytics. Any help is appreciated.

I have figured this out and have added this in my dashboard using the Azure Metrics component and customizing the presentation to table view instead of graph view. I don't have visibility to the actual query that generates this data but I am able to access the data in text/table form.

Related

What is the best way to read large data from ADLS2

I am using Diagnostic settings to move real time Telemetry data to ADLS2 storage account. I am planning to create a custom Application map application which will need Telemetry data. Since I am importing data to ADLS2, is there any way to query the data in ADLS2 like we do in App insights using Kusto query. I am planning to create a .net 6 api to query the data.
I am open to alternatives to ADLS2 as well.
Please suggest.

How to chart and metrices based on SQL Database data in azure Monitor

I have to create chart and metrices in Azure Monitor overview dashboard based on Azure SQL database data. How can we do that? I don't want to show database performance. I want to display database data in dashboard.
Azure Monitor helps you maximize the availability and performance of
your applications and services like CPU performance, memory usage,
storage usage, etc. It can't be used to visualize the stored data in
Azure SQL database or any other service.
To visualize the data, you should either use tools like Azure Data Explorer or Power BI.
Please check Visualize data with Azure Data Explorer dashboards.

where i can find azure logs for tracking api response

I want to view logs in azure, I mean logs that I have in the console in localhost where I can find them in web site deployed in azure? I am consuming an external API and I want to see what I send and what I received from the prod env
thank you
There are couple of ways to track logs in Azure
Azure API Management
Azure Monitor
Azure API Management helps you track all kinds of requests including
View activity logs
View resource logs
View metrics of your API
Set up an alert rule when your API gets unauthorized calls
Azure Monitor on the other hand helps it possible to programmatically retrieve the available default metric definitions, granularity, and metric values.
The data can be saved in a separate data store such as Azure SQL Database, Azure Cosmos DB, or Azure Data Lake. From there additional analysis can be performed as needed.

Is it possible to log Azure Cloud Service Performance Counters in Elasticsearch?

I'd like to use Kibana to create views that display log and metric information output by our Azure Cloud Service Web Roles and Worker Roles. In particular, we'd like to store performance counter information, as described here: https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-dotnet-diagnostics-performance-counters
Microsoft provides a few tools to view this data if it's stored in Azure diagnostic tables and blobs, but the tools don't have the formatting & visualizing flexibility the Elk stack does. Is anyone aware of how we might be able to get Azure Cloud Service Performance Counter information into Elasticsearch, preferably via logstash?
I've achieved this by enabling Azure diagnostics (writing to Azure table storage) and using ConveyorBelt to send the logs to ElasticSearch.
As the GitHub page states, ConveyorBelt is:
A horizontally scalable headless cluster to shovel Azure diagnostic
data (and other custom data) to ElasticSearch

Azure SQL Database "Activity Monitor"

One of my Azure SQL Databases is experiencing very high CPU usage. This is a test database server and is definitely not receiving any traffic so it should be very under-utilised.
Is there any way I can troubleshoot this to find where this load is coming from?
Is there some kind of Activity Monitor for SQL Database?
You want to use SQL Azure Dynamic Management Views. Check out this article for more info to get started: https://learn.microsoft.com/en-us/azure/sql-database/sql-database-monitoring-with-dmvs

Resources