Class MetricsCollectionService

Assembly: redb.Tsak.Core.dll

Background service that periodically collects process metrics
and stores them in .

public class MetricsCollectionService : BackgroundService, IHostedService, IDisposable

Inheritance

Object→BackgroundService→MetricsCollectionService

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)

Constructors