Class MetricsCollectionService
Background service that periodically collects process metrics
and stores them in .
public class MetricsCollectionService : BackgroundService, IHostedService, IDisposable
Inheritance
Implements
Methods
ExecuteAsync(CancellationToken)
This method is called when the starts. The implementation should return a task that represents
protected override Task ExecuteAsync(CancellationToken stoppingToken)