Definition
Package: MessageHandler.Runtime.Metrics
Assembly: MessageHandler.Runtime.Metrics
Namespace: MessageHandler.Runtime
Interface to implement by metrics tracking classes
Properties
| Property | Description |
|---|---|
| DefaultCompletionBehavior | Gets or sets the default completion behavior. |
Methods
| Method | Description |
|---|---|
| Track(Metric) | Track a metric using the default completion behavior |
| Track(Metric, MetricsCompletionBehavior) | Track a metric using the specified completion behavior |
| Start(CancellationToken) | Start collecting metrics until the cancellation token gets cancelled |
| Stop() | Stop collecting metrics |