Is Sleuth tracing supported in Azure AKS? - azure

I have an application that is going to provide tracing data with Spring Cloud Sleuth. I want to get this trace data to Azure Application Insights.
From Azure's documentation I understand that Sleuth traces are natively supported if I deploy my application to Azure Spring Cloud. However, the application is going to be running in Azure AKS instead. Is it still possible to view Sleuth trace data in the AKS version of Application Insights?
I don't have much experience with Azure (or cloud services in general), so apologies if the question is a bit silly :)

As per the doc Application monitoring:
By integrating Spring Cloud Sleuth with Azure's Application Insights, Azure provides powerful distributed tracing capability directly from the Azure portal.
This should work.

Related

Alternative to using Azure Cloud service in a CSP subscription

Team,
I have a complete running cloud service application upgraded to latest Azure SDK version and unfortunately need to dump this into a CSP subscription. But I came to know that Azure CSP supports only the Azure Resource Manager model, the cloud service is a classic deployment model. So we cannot create a cloud service within a CSP subscription.
Is there any other alternative within Azure CSP to using "cloud service" so that we can migrate with minimal changes. Please help
Firstly, here are some good reads on Microsoft Docs to help comparing the options available and make decisions based on your requirements:
(I mean requirements like Hosting features, Service Limits, 3rd party software installation and RDP access is required or not, Network isolation to a separate VNET is required or not, Cost considerations, minimum SLA, Regions available, instant deployment and auto-scaling, state management etc.):
Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison
Decision tree for Azure compute services (This one covers a big spectrum.. simple virtual machines, Batch, Functions, Containers, AKS, ServiceFabric)
Criteria for choosing an Azure Compute Service
Also know that when looking for alternatives, it's not uncommon to make use of multiple compute or other Azure service options by breaking up an older solution into parts at the time of such migration (for e.g. A serverless compute option like Azure Function + Service Fabric + something else if needed).
Generally speaking (and without knowing much about your application from your question currently), Azure App Service and Service Fabric could be considerations IMHO when migrating from an existing Cloud Service, but this is exactly where detailed requirements help you in decision making.
On a side note, here is a list of Azure Services available in CSP - Available Azure services in Azure CSP

Azure Log Integration with Application Gateway diagnostic logs

Is there a way to integrate Azure Application Gateway logs to the Azure Log integration service. I can only see that Log integration seems to work for the VM logs, Security Center, Keyvault and Azure AD audit logs but nothing else.
How can we integrate other Azure cloud services(App gateway diagnostics etc.) with Azure Log Integration?
First, to answer the question about why you are don't see log integration for Application Gateway. Log Integration is only for resources like the VM, Security centre and other things you have mentioned. The Application Gateway is more like an appliance (like a tool that you use) rather than a service (that you consume). I think that is why they are separate and you are unable to mix them up.
I guess you have already seen this link about gateway diagnostics but I am putting it here anyway - https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-diagnostics
Perhaps, it is possible for you to take the logs from the Log Integration and then the logs from the gateway and combine them in a web app of your own design.

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/

DiagnosticMonitorTraceListener in Azure Websites

I have been using Azure Cloud Services the past year and is used to reading my trace logs with Azure Management Studio, with logs being stored in table storage using DiagnosticMonitorTraceListener.
I am confused about starting using azure websites as it seems they are using a diffrent logging structure? Is it not possible to see the trace logs from azure website using azure management studio in the Diagnostic/Trace like i used to with Cloud Services
Diagnostics in azure websites is similar to any web application. DiagnosticsMonitor applies to webroles. In the case of websites, diagnostics need to have a persistent storage and it can be configured in azure management portal.
Check out these posts.
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/
http://blogs.msdn.com/b/microsoft_press/archive/2014/01/29/from-the-mvps-diagnostics-and-logging-in-windows-azure-web-sites.aspx
http://www.hanselman.com/blog/StreamingDiagnosticsTraceLoggingFromTheAzureCommandLinePlusGlimpse.aspx
The logs can be downloaded and analysed locally. I am not sure if the tool that supported webroles works for this too.
The diagnostics viewer tool for cloud services will not work for Azure Websites, but there is a tool for viewing your Azure Website logs called Azure Website Log Browser. It is installed as a site extensions on your Azure Website.
You can read more about it here.

Moving Azure Instance to AWS

I have received $200 credit to host my 2 Windows Azure Cloud projects on AWS. Just wondering what the quick and dirty process is to migrate my Visual studio projects to being published on the AWS cloud?
I could seem to find much documentation available, with the exception that apparently it's possible.
Are you using Cloud Services (web role), an Azure Web Site, or a VM? Depending on how the ASP.NET MVC code is written, you could provision whatever compute capability you need in AWS and deploy there.
The blob storage would likely be the problem. That is unless the code has an abstraction layer to isolate the app from storage implementation details. Azure blob storage and whatever you using in AWS have different platform APIs.

Resources