C# Class Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.MetricsEventManager

Inheritance: IDisposable
Afficher le fichier Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Méthodes publiques

Méthode Description
BeginEvent ( string eventName ) : object
Dispose ( ) : void
EndEvent ( object eventHandle ) : void
LogEvent ( string eventName ) : void
MetricsEventManager ( ScriptSettingsManager settingsManager, IEventGenerator generator, int functionActivityFlushIntervalSeconds, int metricsFlushIntervalMS = DefaultFlushIntervalMS ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
TimerFlush ( object state ) : void

Flush any queued events to event source immediately.

This method may run concurrently with itself so ensure there are no unintended side effects or race conditions within the implementation.

WriteMetricEvents ( SystemMetricEvent metricEvents ) : void

Private Methods

Méthode Description
FunctionCompleted ( FunctionStartedEvent completedEvent ) : void
FunctionStarted ( FunctionStartedEvent startedEvent ) : void
GetNormalizedString ( string input ) : string
HostStarted ( ScriptHost scriptHost ) : void
SerializeBindings ( IEnumerable bindings ) : string

Method Details

BeginEvent() public méthode

public BeginEvent ( string eventName ) : object
eventName string
Résultat object

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndEvent() public méthode

public EndEvent ( object eventHandle ) : void
eventHandle object
Résultat void

LogEvent() public méthode

public LogEvent ( string eventName ) : void
eventName string
Résultat void

MetricsEventManager() public méthode

public MetricsEventManager ( ScriptSettingsManager settingsManager, IEventGenerator generator, int functionActivityFlushIntervalSeconds, int metricsFlushIntervalMS = DefaultFlushIntervalMS ) : System
settingsManager Microsoft.Azure.WebJobs.Script.Config.ScriptSettingsManager
generator IEventGenerator
functionActivityFlushIntervalSeconds int
metricsFlushIntervalMS int
Résultat System

TimerFlush() protected méthode

Flush any queued events to event source immediately.
This method may run concurrently with itself so ensure there are no unintended side effects or race conditions within the implementation.
protected TimerFlush ( object state ) : void
state object
Résultat void

WriteMetricEvents() protected méthode

protected WriteMetricEvents ( SystemMetricEvent metricEvents ) : void
metricEvents SystemMetricEvent
Résultat void