21.324. Class MetricsExporter

Namespace: ArmoniK.Core.Control.Metrics.Options
Assembly: ArmoniK.Core.Control.Metrics.dll

Represents the configuration settings for the metrics exporter.

[PublicAPI]
public class MetricsExporter

21.324.1. Inheritance

objectMetricsExporter

21.324.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

21.324.3. Fields

21.324.3.1. SettingSection

The configuration section path used to retrieve settings related to the metrics exporter.

public const string SettingSection = "MetricsExporter"

21.324.3.1.1. Field Value

string

21.324.4. Properties

21.324.4.1. CacheValidity

Gets or sets the cache validity duration. This defines the time span for which the cached metrics are considered valid.

public TimeSpan CacheValidity { get; set; }

21.324.4.1.1. Property Value

TimeSpan

21.324.4.2. Metrics

Gets or sets the metrics to be exported. This property defines the specific metrics that the exporter will handle.

public string Metrics { get; set; }

21.324.4.2.1. Property Value

string

21.324.4.2.2. Remarks

The metrics are separated by commas and can the following:

  • Creating
  • Submitted
  • Dispatched
  • Completed
  • Error
  • Timeout
  • Cancelling
  • Cancelled
  • Processing
  • Processed
  • Retried
  • Pending
  • Paused
  • Queued