MS Azure WebApplication MONITOR - chart API - azure

This may be a silly question but here we go: "Is there a way to access the Azure WebApp MONITOR Chart (see below) and embed it into my website?".

Azure Insights REST API provides Microsoft Azure Insights operations using Resource Manager. Insights includes a unified API to retrieve monitoring metrics and operational events for all of the Azure resources that are available in Azure Resource Manager.
Azure Insights REST API Reference
For C# .NET SDK for Azure Insights, you can look into: Microsoft Azure Insights Library
Microsoft Azure Insights Library

Related

My Dashboard in Azure for App Services outage

I am working on a custom Dashboard in Azure. My Application is hosted in an APp Service. If App services is down at Microsoft end, i want to show a Red Dot in my dashboard.
KUSTO will work here?
Some API calls i need to do and some Programming to create dashboard?
Please guide me
You can create the Azure dashboard using template deployment in which Azure offers the ability to orchestrate the deployment of multiple resources.
Once the required resources for Azure Dashboard can be configured in template ARM template format, you can deploy using REST APIs, PowerShell, Azure CLI and Azure Portal template deployment.
This Microsoft Documentation helps you to create the Azure Dashboard using the Sample Templates given.
You can enable Health checks for your App Service using Azure Monitor App and that you can bring on Azure Dashboard to see your app service is up or down in the form of graph.
Source: Azure Service Health Dashboard

How to upload custom metrics and metrics data on azure that can be seen on Azure Management Portal in Diagnostics Monitor

I am working on an application with requirement of insert/upload data on azure that can be seen on Azure Management Portal in Diagnostics Monitor/dashboard
that shows performance counter data in form of graphs, charts.
I want to know how to upload data on azure.
How to see uploaded data in Azure Management Portal Diagnostics Monitor/dashboard (in form of graphs/charts)
Can this be done by creating custom metrics? If yes, how to create custom metrics and monitor? Can it be done using REST API?
If it is not possible to upload and view my own data on Azure Management Portal - Diagnostics Monitor (graph, chart) using custom monitor the is it possible at all to upload and view my own data in Azure Management Portal - Diagnostics Monitor/dashboard?
I am new to Azure. Please suggest if this is possible.
You need to configure Azure Diagnostics. The process is described here for Azure Cloud Services and Virtual Machines:
https://azure.microsoft.com/en-us/documentation/articles/vs-azure-tools-diagnostics-for-cloud-services-and-virtual-machines/

Azure App Service API

Looking in the Azure portal, I can see monitoring charts for API apps and Web apps that return information on metrics such as number of requests, cpu time, data i/o, etc.
Is there an API that I can query that will return information on Azure app services?
If you just want to see the list of web apps within a resource group, this can simply be achieved using the Azure Resource Manager API, which is the default API used by the new portal.
We now even have a cool tool to explore these APIs, check https://azure.microsoft.com/en-in/blog/azure-resource-explorer-a-new-tool-to-discover-the-azure-api/
The API Reference itself is at https://msdn.microsoft.com/en-in/library/azure/dn790568.aspx
I think what you search is named : "Azure Monitoring Services API".
You can get/set metrics.
You can access to the API by a Nuget package :
PM> Install-Package Microsoft.WindowsAzure.Management.Monitoring
Yes, you can.
Please refer to Azure Insights REST API Reference.

How to add Azure Mobile Service to Azure Resource Manager template?

How can I add an Azure Mobile Service to an Azure Resource Manager template? I cannot find any online templates nor guidance to do this. I cannot migrate to Azure App Service just yet, and MS claims that Azure Mobile Services remain fully supported.
Mobile Services are only supported in the Service Management API (ASM), not in Resource Manager.

Azure application status page

I have an application running on the Azure cloud.
Currently this is deployed as an Azure web app.
Is there any way to monitor the website status and build a page like this or this?
As you can see in those examples both have:
a service global status
An historical status which is grouped in hour/day/months period
Does azure has an API that I can use to monitor my services?
Application Insights and the Azure portal will give you a rich monitoring and diagnostics experience for your web app. It is in preview at this time.
You can get very granular data points or high-level graphs and trends. The historical data can go back as far as 13 months for aggregated data points. You can read more about the data retention policy here.
The Azure portal (the new one at portal.azure.com) gives you a rich UI to interact with the telemetry data from your app. And if you want to customize a blade to view specific data for your app you can do that too.
Azure Web Apps also has built-in monitoring support that you can use. It won't give you the depth that Application Insights does but you should look at this too to see if it will give you the data you need. And of course, you can customize the monitoring blades in the Azure portal to suit your needs.
Azure does offer a robust RESTFul API for managing and monitoring your services. Essentially anything you can do through the Azure Management Portal is accessible via an API, including analytics. The portal itself often uses this same API.
https://msdn.microsoft.com/en-us/library/azure/ee460799.aspx
You can also use MSFT authored .NET assemblies to create your own monitoring applications in Visual Studio. I find the monitoring and analytics features more robust via this model. These are available on GitHub:
http://azure.microsoft.com/en-us/updates/management-libraries-for-net-release-announcement/

Resources