WebHostMetricsLogger Class

 

This implementation of IMetricsLogger flushes metrics to disk on a regular interval. These files are consumed by Antares and imported into our MDS metrics tables.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Diagnostics
Assembly:  Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Diagnostics.WebHostMetricsLogger

type WebHostMetricsLogger = 
    class
        interface IMetricsLogger
        interface IRegisteredObject
        interface IDisposable
    end

NameDescription
System_CAPS_pubpropertyQueuedEvents

Gets the collection of events that will be flushed on the next flush interval.

NameDescription
System_CAPS_pubmethodBeginEvent(String)

System_CAPS_protmethodCreateLogFolder(String)

System_CAPS_protmethodCreateTimer(Int32)

System_CAPS_pubmethodDispose()

System_CAPS_protmethodDispose(Boolean)

System_CAPS_pubmethodEndEvent(Object)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetLogFilePath()

Get a unique path to a new log file.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLogEvent(String)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRegisterObject(IRegisteredObject)

System_CAPS_pubmethodStart()

Initializes and starts the logger, including the flush timer.

System_CAPS_pubmethodStop(Boolean)

This method is called by the ASP.NET infrastructure when ASP.NET is about to take down the app domain. See IRegisteredObject for more information.

System_CAPS_protmethodTimerFlush(Object)

Flush any queued events to disk immediately.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUnregisterObject(IRegisteredObject)

System_CAPS_protmethodWriteLogFile(String, IEnumerable<String>)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: