22.325. Class MetricsExporter

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

Represents the configuration settings for the metrics exporter.

[ExtractDocumentation("Options for MetricsExporter")]
[PublicAPI]
public class MetricsExporter

22.325.1. Inheritance

objectMetricsExporter

22.325.2. Inherited Members

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

22.325.3. Fields

22.325.3.1. SettingSection

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

public const string SettingSection = "MetricsExporter"

22.325.3.1.1. Field Value

string

22.325.4. Properties

22.325.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; }

22.325.4.1.1. Property Value

TimeSpan

22.325.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; }

22.325.4.2.1. Property Value

string

22.325.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