Class EventSourceListener
Inheritance
System.Object
EventSourceListener
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class EventSourceListener : EventListener
Properties
|
Edit this page
View Source
DoubleCounters
Declaration
protected ConcurrentDictionary<string, Counter<double>> DoubleCounters { get; set; }
Property Value
Type |
Description |
ConcurrentDictionary<System.String, Counter<System.Double>> |
|
|
Edit this page
View Source
LongCounters
Declaration
protected ConcurrentDictionary<string, Counter<long>> LongCounters { get; set; }
Property Value
Type |
Description |
ConcurrentDictionary<System.String, Counter<System.Int64>> |
|
Methods
|
Edit this page
View Source
Dispose()
Declaration
public override void Dispose()
|
Edit this page
View Source
ExtractAndRecordMetric(String, EventWrittenEventArgs, IDictionary<String, Object>, String[], String[])
Declaration
protected virtual void ExtractAndRecordMetric(string eventSourceName, EventWrittenEventArgs eventData, IDictionary<string, object> labels, string[] ignorePayloadNames = null, string[] counterNames = null)
Parameters
Type |
Name |
Description |
System.String |
eventSourceName |
|
EventWrittenEventArgs |
eventData |
|
IDictionary<System.String, System.Object> |
labels |
|
System.String[] |
ignorePayloadNames |
|
System.String[] |
counterNames |
|
|
Edit this page
View Source
SafelyEnableEvents(EventSource, EventLevel, EventKeywords)
Declaration
protected void SafelyEnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword)
Parameters
Type |
Name |
Description |
EventSource |
eventSource |
|
EventLevel |
level |
|
EventKeywords |
matchAnyKeyword |
|