Class ThreadPoolEventsListener
This EventSourceListener listens on the following events:
ThreadPoolWorkerThreadStart, ThreadPoolWorkerThreadWait, ThreadPoolWorkerThreadStop,
IOThreadCreate_V1, IOThreadRetire_V1, IOThreadUnretire_V1, IOThreadTerminate
And Records the following values:
ActiveWorkerThreadCount - UInt32 - Number of worker threads available to process work, including those that are already processing work.
RetiredWorkerThreadCount - UInt32 - Number of worker threads that are not available to process work, but that are being held in reserve in case more threads are needed later.
Inheritance
System.Object
ThreadPoolEventsListener
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class ThreadPoolEventsListener : EventSourceListener
Constructors
|
Edit this page
View Source
ThreadPoolEventsListener(ILogger<EventSourceListener>)
Declaration
public ThreadPoolEventsListener(ILogger<EventSourceListener> logger = null)
Parameters
Methods
|
Edit this page
View Source
GetLabelSet(String)
Declaration
protected IDictionary<string, object> GetLabelSet(string eventName)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Returns
Type |
Description |
IDictionary<System.String, System.Object> |
|
|
Edit this page
View Source
OnEventSourceCreated(EventSource)
Declaration
protected override void OnEventSourceCreated(EventSource eventSource)
Parameters
Type |
Name |
Description |
EventSource |
eventSource |
|
|
Edit this page
View Source
OnEventWritten(EventWrittenEventArgs)
Declaration
protected override void OnEventWritten(EventWrittenEventArgs eventData)
Parameters
Type |
Name |
Description |
EventWrittenEventArgs |
eventData |
|