A day with .Net

My day to day experince in .net

Windows Azure Diagnostics-Introduction

Posted by vivekcek on April 9, 2012

Windows azure diagnostic help you to collect diagnostic information from your deployed role instances. This diagnostic information will help you to debug your code after deployment.

Windows Azure Team provides a small program named Diagnostic Monitor (MonoAgentHost.exe).Which is responsible for collecting and transferring logs from your role instances.

Diagnostic Monitor collects Windows Event Logs, IIS Logs, and Performance Counter Logs etc…. And store them in local buffer. We can transfer these locally buffered logs to azure storage based on schedule or on demand.

Now you may think why we need to transfer the locally buffered logs to azure storage account. The answer is simple; you know that role instances are deployed on virtual machines. What will happen to you logs if the virtual machine is destroyed or re-imaged? .So for the safety of your data it is better to transfer logs to azure storage.

You don’t worry the smart Diagnostic Monitor will transfer your logs to azure storage account. These logs may be stored in azure blobs or tables based on the type of the log.

The below table give you an idea about the types of logs and their transfer locations.

Data Source

Default

Destination

Table/Container Name

Role Supported

Windows Azure Logs

ENABLED

TABLE

WADLogsTable

Web/Worker

IIS 7.0 Logs

ENABLED

BLOB

wad-iislogfiles

Web

Azure Diagnostic Infrastructure Logs

ENABLED

TABLE

WADDiagnosticInfrastructureLogsTable

Web/Worker

IIS Failed Request Logs

DISABLED

BLOB

wad-iisfailedreqlogfiles

Web

Windows Event Logs

DISABLED

TABLE

WADWindowsEventLogsTable

Web/Worker

Performance Counters

DISABLED

TABLE

WADPerformanceCountersTable

Web/Worker

Crash Dumps

DISABLED

BLOB

wad-crash-dumps

Web/Worker

Directory Logs

DISABLED

TABLE

WADDirectoriesTable

Web/Worker

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s