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

23.324.1. Inheritance

objectMetricsExporter

23.324.2. Inherited Members

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

23.324.3. Fields

23.324.3.1. SettingSection

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

public const string SettingSection = "MetricsExporter"

23.324.3.1.1. Field Value

string

23.324.4. Properties

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

23.324.4.1.1. Property Value

TimeSpan

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

23.324.4.2.1. Property Value

string

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