Microsoft.WindowsAzure.Mobile.Service.Diagnostics Namespace

Classes

EntityStatusReporter

Provides a StatusReport for table controllers using Entity Framework

HealthIndicator

Provides a default implementation of the IHealthIndicator abstraction with no external dependencies.

MetricsLatencyEvent

Event class used for internal tracking of outstanding latency events

MetricsLogger

Default implementation of IMetricsLogger that doesn't do any logging.

MongoStatusReporter

Provides a StatusReport for table controllers using Mongo DB.

SecurityStatusReporter

Provides a StatusReport for security extensions.

ServiceExceptionFilterAttribute

Provides a default System.Web.Http.Filters.ExceptionFilterAttribute which catches unhandled exceptions occurring in the filter pipeline and logs them.

ServiceExceptionLogger

Provides a global Web API unhandled exception logger which is called when unhandled exceptions propagate all the way to Web API infrastructure.

ServiceTraceManager

Simple System.Web.Http.Tracing.ITraceManager implementation which does not register any of the built-in Web API tracers. We use this to only trace system traces and user traces from the service.

ServiceTraceWriter

This System.Web.Http.Tracing.ITraceWriter implementation formats traces so that they include a request correlation identifier if available. In addition, it allows for traces to be filtered based on their respective "Category".

SignalRStatusReporter

Provides a StatusReport for ASP.NET SignalR.

StatusReporter

Provides a default StatusReport for the service.

StatusReporterTypeResolver

Provides an implementation of IStatusReporterTypeResolver with no external dependencies.

StorageStatusReporter

Provides a StatusReport for table controllers using Azure Storage.

TableStatusReporter

Provides a StatusReport for table controllers.

Interfaces

IHealthIndicator

Provides an abstraction for getting or setting the health of a service. The HealthReport can be used to indicate that something is wrong, for example by providing a hint on the home page.

IMetricsLogger

Defines an interface for emitting metrics events from the runtime for later aggregation and reporting.

IStatusReporter

Provides an abstraction for generating status information that feeds into the response provided by the DiagnosticsController. The information exposed by the DiagnosticsController is access controlled using the ConfigOptions instance. Be careful not to expose any private or confidential information.

IStatusReporterTypeResolver

The IStatusReporter provides an abstraction for reporting status through the DiagnosticsController. The IStatusReporterTypeResolver provides an abstraction for enumerating and providing the IStatusReporter implementations that should participate in this process.

Enums

HealthMeter

Indicates the state of health of the service. This is used by the HealthIndicator to issue a health report upon request. One place where this is used is to indicate with a notice on the service home page reporting the state of health of the service.