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.
Assembly: Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)
| Name | Description | |
|---|---|---|
![]() | QueuedEvents | Gets the collection of events that will be flushed on the next flush interval. |
| Name | Description | |
|---|---|---|
![]() | BeginEvent(String) | |
![]() | CreateLogFolder(String) | |
![]() | CreateTimer(Int32) | |
![]() | Dispose() | |
![]() | Dispose(Boolean) | |
![]() | EndEvent(Object) | |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLogFilePath() | Get a unique path to a new log file. |
![]() | GetType() | (Inherited from Object.) |
![]() | LogEvent(String) | |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RegisterObject(IRegisteredObject) | |
![]() | Start() | Initializes and starts the logger, including the flush timer. |
![]() | Stop(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. |
![]() | TimerFlush(Object) | Flush any queued events to disk immediately. |
![]() | ToString() | (Inherited from Object.) |
![]() | UnregisterObject(IRegisteredObject) | |
![]() | WriteLogFile(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.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)