Microsoft.WindowsAzure.Diagnostics Provides access to common SDK constants. The version to display in the command line tools banners. Path to the SDK installation registry key. Name of the registry value that contains the SDK installation path. Name of the registry value that contains the SDK version string. The version to display in the command line tools banners. The GUID of the ETW log to use for Azure infrastructure logging. Environment variable read by hosts to enable partial trust. Environment variable for Agent RPC Endpoint. String environment variable that defines the module name for system plugin tasks. It is required to differenciate user startup task and system startup task. Boolean environment variable that causes IISConfigurator to delete existing sites. Boolean environment variable that causes IISConfigurator to configure URL rewrite. Configurable operation timeout for IISConfigurator client connection through WCF. This is in terms of minutes. The name of the environment variable that contains the role type. The role type value indicating a worker role. The role type value indicating a web role hosted in HWC. The role type value indicating a web role hosted in IIS. Base path to SDK runtime endpoint discovery (no version specified). Path to SDK runtime endpoint discovery. Name of the runtime endpoint value. Name of the runtime endpoint value. Subject name of generated management certificates. Registry key path to storage key path. Registry key path to cloud drive devpath. Name of the registry value that contains path for the devpath. Name of the registry value that contains path for the devpath. Name of the event log. Name of the event guest agent source. Name of the event runtime source. The name of the private configuration setting use to determine if code is running under the devfabric or not. This is shared between the runtime and the devfabric. Do not change this, as it breaks a contract between the two. The name of the private configuration setting use to pass the path to the IIS Express installation root. This is shared between the runtime and the devfabric. Do not change this, as it breaks a contract between the two. Path to a debugger to launch the role host process under. Provides extension methods to the DiagnosticMonitor class Creates a new instance of the class for the specified deployment Storage account connection string. The deployment ID for the current deployment. A object. Creates an new instance of the class for the specified deployment, role, and instance. " Storage account connection string. The deployment ID for the current deployment. The name of the role in the specified deployment. The role instance ID. A object. Allows sending configuration requests to a ConfigChannelServer. Stores the name of the pipe. Initializes a new instance of the class. Name of the pipe. Sends the configuration request. The config request. The timeout. true if the config was sent; otherwise false. Starts a named pipe server that listens for configuration change events. Stores the name of the pipe. Stores the server pipe. Initializes a new instance of the class. Name of the pipe. Starts a named pipe server. Stops the server. Raises the event. The instance containing the event data. Handles client connections. The async result. Raised when a new configuration is sent. Stores the data required for the ConfigurationRequest event. Initializes a new instance of the class. The request. Gets the config request. The config request. XML serializer for configuration request. Advanced class used to explicitly configure the monitoring agent. Creates an inital configuration for the diagnostic monitor. Gets or sets the connection string for storage account to which logs are transferrred. Gets or sets the deployment ID of the role instance for which this diagnostic monitor is running. Gets or sets the role instance ID. Gets or sets the name of the role. Gets or sets the name of the local directory where diagnostic monitor state is written. Gets or sets the diagnostic monitor tools directory. Gets or sets the polling interval for the diagnostic monitor. Represents the configuation for performance counter data sources. Gets or sets the rate at which to sample the performance counter, rounded up to the nearest second. Gets or sets a performance counter specifier using standard Windows counter syntax. See Specifying a Counter Path for more information on performance counters. Class to configure data buffers used to store diagnostic information. Gets or sets the interval between scheduled transfers for this data buffer, in minutes. This value is rounded up to the nearest minute. A value of TimeSpan.Zero disables any scheduled data transfer. Gets or sets the maximum amount of file system storage available to the specified data buffer. By default buffer sizes are automatically allocated by Windows Azure. You can set this property if you need to manage the buffer size explicitly. Configuration class for data buffers that contain file-based logs. Represents the configuration for file-based data buffers. Gets a list of configured directories for file-based logs. Configuation class for data buffers that hold performance counter information. Represents the buffer configuration for performance counters. Gets a list of configurations for performance counters that are being collected. Configuration class for buffers used to hold information gathered from the Windows event logs. Represents the buffer configuration for Windows event logs. Gets a list of configured data sources for Windows event logs. Specifies a logging level by which to filter records when performing a scheduled transfer. When this property is set to LogLevel.Undefined, no filter is applied and all logging events at all levels are transferred. Represents the configuration for a set of standard fixed data buffers for logging and diagnostic information. Gets or sets the interval at which the diagnostic monitor polls for diagnostic configuration changes. Increasing the rate at which your service polls for configuration changes may affect your storage costs. For more information, see . Note that the configuration change polling interval cannot be set remotely. Gets or sets the total amount of file system storage allocated for all logging buffers. Gets or sets the buffer configuration for basic Windows Azure logs. Gets or sets the buffer configuration for the logs generated by the underlying diagnostics infrastructure. The diagnostic infrastructure logs are useful for troubleshooting the diagnostics system itself. Gets or sets the buffer configuration for performance counter data. Gets or sets the buffer configuration for Windows event logs. Gets or sets the buffer configuration for file-based logs defined by the developer. Represents information about ongoing data transfers from the local logs to a Windows Azure storage account. Constructs an OnDemandTransferInfo object from queue messages sent by a diagnostic monitor on completion of an on-demand transfer. The queue message content. An object. Gets or sets the unique ID for a given transfer request. Gets or sets the deployment ID from which the source data is being transferred. Gets or sets the name of the role from which the source data is being transferred. Gets or sets the ID of the role instance from which the source data is being transferred. Gets or sets the name of a queue where a completion message will be enqueued to provide information about this transfer. If notification of completion is requested, a single message will be placed in the specified queue to signal completion. Enumeration of a standard set of data buffers for logging. Basic Windows Azure logs Diagnostic infrastructure logs Performance counters Windows event logs File-based logs defined by the developer. IIS logs, Failed Request logs, and application crash dumps are a special case of file-based logs that are automatically configured for the service. Describes the configuration of a directory to which file-based logs are written. IIS logs, Failed Request logs, and application crash dumps are a special case of file-based logs that are automatically configured for the service. Gets or sets the absolute path for the local directory to which file-based logs are being written. Gets or sets the name of a container defined in a storage account where the contents of file-based logs are to be transferred. A container is a resource defined by the Blob service under which blob data is stored. File-based logs are copied from the local directory to blobs within this container when a scheduled or on-demand transfer is performed. The Blob service endpoint is determined by the cloud storage account used to initialize the for the role instance. The directory from which file-based logs are transferred is the directory defined by the property for this object. Gets or sets the maximum size of the directory defined by the property to which file-based logs are written. Defines a standard set of logging levels. Logs all events at all levels. Logs a critical alert. Logs an error. Logs a warning. Logs an informational message. Logs a verbose message. Represents the buffer configuration for basic Windows Azure logs. Gets or sets the logging level by which to filter records when performing a scheduled transfer. When this property is set to LogLevel.Undefined, no filter is applied and all logging events at all levels are transferred. Represents an active instance of a diagnostic monitor. Returns the default initial diagnostic monitor configuration for the current role instance. A object. Call this method to retrieve the initial configuration for all logging and diagnostic parameters for the current role instance. Once you retrieve the initial configuration, you can modify configuration parameters and update the configuration for the current instance. By default, the overall quota for file system storage for all logging buffers is approximately 4 GB. This storage space is automatically allocated across the various logging buffers in a dynamic fashion. You can also configure individual buffer quotas if you prefer to manage them yourself. The size of the overall quota for logging buffers is limited by the size of the DiagnosticStore local resource. To increase the size of the overall quota, first increase the size of the DiagnosticStore resource. Starts a diagnostic monitor. The name of a configuration setting that provides a connection string to a storage account. A object. This method starts a diagnostic monitor with the default initial configuration. Data buffers are written to the storage account indicated by the specified configuration setting. The storage account may be the well-known development storage account, or a Windows Azure storage account in the cloud. See Configuring Connection Strings for more information about how to construct a connection string to a storage account. This method also registers for notification of changes to configuration settings. If the value of the connection string is changed, the diagnostic monitor will be automatically reconfigured to use the new connection. See Configuring Connection Strings for more information about how to construct a connection string to a storage account. Starts a diagnostic monitor with a user-defined initial configuration. The name of a configuration setting that provides a connection string to a storage account. A object that provides a custom initial configuration. A object. This method starts a diagnostic monitor with the specified initial configuration. Data buffers are written to the storage account indicated by the specified configuration setting. The storage account may be the well-known development storage account, or a Windows Azure storage account in the cloud. This method also registers for notification of changes to configuration settings. If the value of the connection string is changed, the monitoring agent will be automatically reconfigured to use the new connection. See Configuring Connection Strings for more information about how to construct a connection string to a storage account. Starts a diagnostic monitor with an explicitly supplied storage connection string and initial configuration. The connection string to a storage account. A object that provides a custom initial configuration. A object. This method starts a diagnostic monitor with the specified initial configuration. Data buffers are written to the storage account indicated by the connection string. The storage account may be the well-known development storage account, or a Windows Azure storage account in the cloud. See Configuring Connection Strings for more information about how to construct a connection string to a storage account. Updates the storage account information for the current diagnostic monitor. Storage account connection string. Stops the diagnostic monitor. Specifies that the diagnostic monitor may use non-secure (HTTP) connections to communicate with the storage account. true if [allow insecure remote connections]; otherwise, false. This property should be set to true only in debugging scenarios. In a production environment, the default connection used by the diagnostic monitor is secure (HTTPS). When the diagnostic monitor is configured to use the development storage account, this property is ignored. Gets the local directory where state information for the diagnostic monitor is stored. Represents the application crash dumps. Enables collection of application crash dumps (mini dumps or full dumps) for this process. if set to true [enable full dumps]; if false, collect mini dumps only. When you enable collection of crash dumps with this method, crash dumps are written to the crash dumps directory (named "CrashDumps") in the default diagnostic store. The default diagnostic store is a local resource that is automatically configured for the role and is named "DiagnosticStore". You can retrieve the default diagnostic store by calling the method. Enables collection of crash dumps (mini dumps or full dumps) for this process to a specified local directory. The absolute path to the local directory. if set to true [enable full dumps]; if false, collect mini dumps only. Provides a class for managing the configuration of diagnostic monitors remotely. Creates a new instance of the class. A connection string for a storage account. The deployment ID. See Configuring Connection Strings for more information about how to construct a connection string to a storage account. Lists the set of roles which have successfully started at least one diagnostic monitor. A list of role names. This method does not return a list of all roles in a deployment, but only the roles for which there is currently at least once instance running a diagnostic monitor. Returns a list of IDs of active role instances that have a diagnostic monitor running. The name of the role. A list of role instance IDs. Returns the list of role instance diagnostic managers for the specified role. The name of the role. A list of objects. Returns the for the specified role instance. The name of the role. The role instance ID. A object. Specifies that the deployment diagnostic manager may use non-secure (HTTP) connections to communicate with the storage account. true if [allow insecure remote connections]; otherwise, false. This property should be set to true only in debugging scenarios. In a production environment, the default connection used by the deployment diagnostic manager is secure (HTTPS). When the deployment diagnostic manager is configured to use the development storage account, this property is ignored. Specifies options for an on-demand transfer. Gets or sets the start of the time window for which event data is to be transferred. Gets or sets the end of the time window for which event data is to be transferred. Gets or sets the filter level for event data that has been logged with level information. If the logging level is set to LogLevel.Undefined, all data is transferred regardless of logging level. Gets or sets the name of the queue where transfer completion notification can optionally be sent. Class for remotely mananging the configruation and diagnostic data for a given role instnace. Initializes a new instance of the class. Storage account connection string. The deployment ID. The name of the role. The role instance ID. Gets the current diagnostic monitor configuration. A object. Sets the configuration for the diagnostic monitor. A object representing the new configuration. Setting the current configuration while on-demand transfers are pending results in an error. Returns the set of active transfers, with associated transfer information. A Dictionary of data buffers and their associated on-demand transfer information. Begins an on-demand transfer of the specified data buffer. The name of the source buffer. A request ID identifying the transfer. Begins an on-demand transfer of the specified data buffer. The name of the source buffer. Options for the on-demand transfer. A request ID identifying the transfer. Cancel all on-demand transfers that are currently in progress, returning the request ID for each transfer. Name of the data buffer. A list of request IDs for the on-demand transfers that are in progress. Currently there can be at most one active transfer per data buffer. Stops an on-demand transfer based on its request ID. The request ID. A boolean indicating whether the on-demand transfer was stopped. This method may return false if the there is no active tranfer with the given request ID. Specifies that the role instance diagnostic manager may use non-secure (HTTP) connections to communicate with the storage account. true if [allow insecure remote connections]; otherwise, false. This property should be set to true only in debugging scenarios. In a production environment, the default connection used by the role instance diagnostic manager is secure (HTTPS). When the role instance diagnostic manager is configured to use the development storage account, this property is ignored. Gets the deployment ID of this role instance. Gets the name of the role for this role instance. Gets the ID of this role instance. Represents the trace listener used for basic Windows Azure logs. Constructor for the class. Releases the unmanaged resources used by the and optionally releases the managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. When overridden in a derived class, writes the specified message to the listener you create in the derived class. The message to write. When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. A message to write. Writes trace and event information to the listener specific output. A object that contains the current process ID, thread ID, and stack trace information. A name used to identify the output, typically the name of the application that generated the trace event. One of the values specifying the type of event that has caused the trace. A numeric identifier for the event. Writes trace information, a message, and event information to the listener specific output. A object that contains the current process ID, thread ID, and stack trace information. A name used to identify the output, typically the name of the application that generated the trace event. One of the values specifying the type of event that has caused the trace. A numeric identifier for the event. A message to write. Writes trace information, a formatted array of objects and event information to the listener specific output. A object that contains the current process ID, thread ID, and stack trace information. A name used to identify the output, typically the name of the application that generated the trace event. One of the values specifying the type of event that has caused the trace. A numeric identifier for the event. A format string that contains zero or more format items, which correspond to objects in the array. An object array containing zero or more objects to format. Writes trace information, an array of data objects and event information to the listener specific output. A object that contains the current process ID, thread ID, and stack trace information. A name used to identify the output, typically the name of the application that generated the trace event. One of the values specifying the type of event that has caused the trace. A numeric identifier for the event. An array of objects to emit as data. Writes trace information, a data object and event information to the listener specific output. A object that contains the current process ID, thread ID, and stack trace information. A name used to identify the output, typically the name of the application that generated the trace event. One of the values specifying the type of event that has caused the trace. A numeric identifier for the event. The trace data to emit. Indicates whether the diagnostic monitor trace listener is thread-safe.