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).
389 questions
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…
8
votes
3 answers

How to configure Azure logging after upgrading to ASP.NET Core 2.2

Are upgrading from ASP.NET Core 2.1 to ASP.NET Core 2.2 and following the official documentation guide. Got a problem with writing the new logging configuration in Startup.cs. Specifically problems on how to handle the AzureWebAppDiagnostics. The…
vidarw
  • 81
  • 1
  • 4
7
votes
1 answer

Enable Azure diagnostics logging using a CLI

I am trying to achieve achieve this, however I would like to enable diagnostics logging using whatever form of non-human interaction possible. I would like to incorporate something that enables diagnostics logging during my build step, by default…
Lutando
  • 4,909
  • 23
  • 42
7
votes
1 answer

Why does Visual Studio complain about my web.config trace listeners configuration?

In my web.config I have the following settings:
sharptooth
  • 167,383
  • 100
  • 513
  • 979
7
votes
1 answer

Azure Diagnostics not working in my Worker Role

I'm trying to get trace logs for my worker role in windows azure but it's not working and cannot see any error. I've configured my application to use azure diagnostics as explained here:…
Escobar5
  • 3,941
  • 8
  • 39
  • 62
6
votes
1 answer

Turning On Diagnostics in Azure eats up transactions - MACommand.xml

We were just trying out the Azure Storage Analytics Service, and something very unusual caught our attention. The transaction count for the diagnostics storage account ( the account to which the Diagnostics Service writes it's data) was extremely…
Yaron Levi
  • 12,535
  • 16
  • 69
  • 118
6
votes
1 answer

Running With DiagnosticMonitorTraceListener Outside of Azure Compute Emulator

We're using DiagnosticMonitorTraceListener as a general trace listener (primarily for for ASP.NET Health Monitoring) as well as an Enterprise Library 5 listener for exception handling. This works well when running on Azure but it's important that we…
Nariman
  • 6,368
  • 1
  • 35
  • 50
6
votes
2 answers

KQL group by with same result as the drag and drop group feature

When using the Monitor, Log feature in Azure Portal you can group rows by dragging and dropping a column header into a certain box, the problem is that this is not saved when pressing the save button. How do I write KQL that generates the same…
DarkWizard96582
  • 63
  • 1
  • 1
  • 5
6
votes
2 answers

Why can't configure Azure diagnostics to use Azure Table Storage via new Azure Portal?

I am developing a web api which will be hosted in Azure. I would like to use Azure diagnostics to log errors to Azure table storage. In the Classic portal, I can configure the logs to go to Azure table storage. Classic Portal Diagnostic…
fgenc
  • 133
  • 1
  • 1
  • 7
6
votes
2 answers

Cannot load imported module named 'Diagnostics.'

The build from VS 2013 breaks with the following error: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.5\Microsoft.WindowsAzure.targets(684,5): error : CloudServices58 : Cannot load imported module named…
Artyom
  • 3,507
  • 2
  • 34
  • 67
6
votes
0 answers

Cannot find Clear-WindowsAzureLog

There are several references to Clear-WindowsAzureLog, including one here - Windows Azure - Cleaning Up The WADLogsTable However, I can't find it in the latest release of the Azure Powershell (https://github.com/Azure/azure-powershell) Has it been…
Alexey Yeltsov
  • 333
  • 2
  • 13
6
votes
1 answer

Windows Azure - "The configuration file is missing a diagnostic connection string for one or more roles"

In Windows Azure Management Management portal, when I try to monitor the instances, I get the following error: The configuration file is missing a diagnostic connection string for one or more roles. Monitoring can't be enabled for these roles. I…
Dragos Durlut
  • 8,018
  • 10
  • 47
  • 62
6
votes
1 answer

Azure instances from 0 to 3 not writing diagnostics data in WadPerformanceCountersTable

I am trying to query data from Azure WadPerformanceCountersTable. I am trying to get the last 5 minutes of data. The problem is that I only get data from instances nr. 4,5 and 6, but not from 0,1,2 and 3. The script I am using to pull de data is…
Dragos Durlut
  • 8,018
  • 10
  • 47
  • 62
5
votes
1 answer

Why doesn't Windows Azure Diagnostics reliably log?

We are having problems getting Windows Azure Diagnostics to reliably log. It seems hit-or-miss and we don't understand why. Here's our code that sometimes works, sometimes doesn't: public class WorkerRole : RoleEntryPoint { public override void…
Jaxidian
  • 13,081
  • 8
  • 83
  • 125
1
2
3
25 26