Questions tagged [azure-diagnostics]

Allows to collect various diagnostics data (performance counters, logs, crash dumps, ...) from Azure roles to Azure Storage.

Windows Azure Diagnostics allows to collect on Azure Storage various diagnostics data on Azure Roles (such as performance counters, IIS logs, event logs and custom logs).

Windows Azure Diagnostics has a fine grained configuration:

  • each role can be configured differently;
  • data can be transferred from roles to Azure Storage periodically or on demand;
  • configuration can be changed from outside Azure, without requiring reboots or redeployments;
  • Diagnostics can collect additional and/or custom data (for example, Windows Azure Caching diagnostics info).
356 questions
35
votes
1 answer

Azure Cloud Service Diagnostic output changed with 2.6 SDK

After upgrading the SDK to Azure Cloud Service Diagnostic 2.6, all the WAD trace logs started to look like this: EventName="FormattedMessageEvent" FormattedMessage="Subscription {0} Already Created" Argument0="sub2feature-staging"…
Poul K. Sørensen
  • 15,251
  • 16
  • 104
  • 257
22
votes
2 answers

How does Microsoft.Extensions.Logging work for full .net framework?

The article (Monitor and diagnose Azure Service Fabric applications) indicates following (please note text in bold): ASP.NET Core logging Choosing how to instrument your code can be difficult, if you chose poorly and have to reinstrument, you are…
Raghu
  • 2,485
  • 3
  • 24
  • 54
21
votes
3 answers

Logging from ASP.NET 5 application hosted as Azure Web App

I have an ASP.NET 5 Web API that I host in Azure as a Web App. I want to log messages from my code using Azure Diagnostics. There are multiple article including Azure docs that suggest that it should be as easy as System.Diagnostics.Trace.WriteLine…
Nikolai Samteladze
  • 7,337
  • 4
  • 41
  • 70
21
votes
6 answers

download azure diagnostic logs?

Does anyone know how to download the Azure diagnostic logs? From the control panel, it shows me an ftp link for the logs, but when I click it it prompts me for a username/password. Any username/password I try just results in a "530 User Cannot…
Mike
  • 1,166
  • 3
  • 18
  • 32
19
votes
3 answers

Monitor free disk space on Azure VM

Is there some way how to monitor free disk space from the Azure Portal? I know that there are all kinds of diagnostics for I/O, memory, network, CPU, .NET, SQL, ASP.NET, IIS, etc. But is there some way to see how much free space there's on a disk…
Tom Pažourek
  • 7,390
  • 7
  • 51
  • 92
17
votes
2 answers

Couldn't find type for class Microsoft.WindowsAzure.Diagnostics

Just got back from holidays, and went in to make a couple small changes in our app, when I was confronted by this error: Couldn't find type for class Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,…
Jeremy Boyd
  • 4,857
  • 7
  • 30
  • 54
14
votes
1 answer

log4net traceappender only logs messages with level 'verbose' when using Windows Azure DiagnosticsMonitor

I have an azure worker role which I have configured to use a log4net Trace Appender which writes to WindowsAzure.Diagnostics. This is done by making the following calls in the RoleEntryPoint of the worker role. using System; using…
Rune Vejen Petersen
  • 3,142
  • 2
  • 26
  • 45
12
votes
3 answers

Azure Web App: HTTP Error 500 on favicon.ico

I often get the following 500 server error after publishing to my Azure Web App. If I delete the web app, recreate it, and republish, everything is fine again. I retrieved the following error page by turning on diagnostics (in the Azure Portal) and…
Dave New
  • 34,265
  • 48
  • 183
  • 366
11
votes
3 answers

Windows Azure Trace Log not working

I'm sure I have missed something simple but I can't get simple Trace.WriteLine to work on Azure. Steps I have taken: Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString has been set up to our Azure storage account Import Module Diagnostics…
Max
  • 1,522
  • 2
  • 15
  • 31
11
votes
5 answers

Could not load file or assembly 'Microsoft.WindowsAzure.Diagnostics' or one of its dependencies

My system crashed a couple of days ago, since then when I try to debug local Azure environment I get this error 'Could not load file or assembly 'Microsoft.WindowsAzure.Diagnostics' or one of its dependencies'. I have reinstalled the following…
Floyd
  • 151
  • 1
  • 1
  • 6
10
votes
1 answer

HTTP 502 from one instance of an Azure Web App

We suddenly began experiencing HTTP 502 errors (The specified CGI application encountered an error and the server terminated the process) from one of the instances of our web app. I was able to determine this using Kudu's "Support" tab whereby you…
10
votes
2 answers

Application Insights TraceListener is not collecting traces?

I have the following configuration in place, but no traces are going into Application Insights (otherwise Application Insights is working fine for other logging and the Azure diagnostics listener is also working and capturing the traces). Am I doing…
10
votes
2 answers

Azure SDK v2.7 diagnostics issue is preventing publish/package

I've recently upgraded an Azure cloud service with a web role and worker role to v2.7 of the SDK. Debugging locally works great. When I try to publish from within VS 2015 Community, the process fails with an error in the build output: 6>Done…
Craig Presti - MSFT
  • 1,097
  • 1
  • 12
  • 20
9
votes
2 answers

Azure app service availability loss. The memory counter Page Reads/sec was at a dangerous level

Environment: Asp Net MVC app(.net framework 4.5.1) hosted on Azure app service with two instances. App uses Azure SQL server database. Also, app uses MemoryCache (System.Runtime.Caching) for caching purposes. Recently, I noticed availability loss of…
9
votes
3 answers

Could not create Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener

While using Windows Azure Table Storage in WCFService WebRole, tried to create CloudStorageAccount by the following way: storageAccount = CloudStorageAccount.Parse(Microsoft.WindowsAzure.CloudConfigurationManager.GetSetting("[Setting name]")) Get…
1
2 3
23 24