API Reference
Interface
IAgentCollector
Defines a collector that adds metrics/events to an agent collection context.
Methods
public abstract Task CollectAsync(AgentCollectionContext context, CancellationToken cancellationToken) #Returns:
TaskCollects metrics/events and appends them to the context.
Parameters
- context ComputerX.Agent.AgentCollectionContext
- cancellationToken System.Threading.CancellationToken
Properties
public abstract String Name { get; } #Collector name used for diagnostics.