Table of Contents

Class MetricsOptions

Namespace
Excalibur.Data.ElasticSearch.Monitoring
Assembly
Excalibur.Data.ElasticSearch.dll

Configures metrics collection for Elasticsearch operations.

public sealed class MetricsOptions
Inheritance
MetricsOptions
Inherited Members

Properties

DurationHistogramBuckets

Gets the histogram bucket configuration for duration metrics.

public double[] DurationHistogramBuckets { get; init; }

Property Value

double[]

Array of bucket boundaries for duration histograms in milliseconds.

Enabled

Gets a value indicating whether metrics collection is enabled.

public bool Enabled { get; init; }

Property Value

bool

A bool indicating whether metrics are collected. Defaults to true .

IncludeCircuitBreakerState

Gets a value indicating whether to include circuit breaker state metrics.

public bool IncludeCircuitBreakerState { get; init; }

Property Value

bool

A bool indicating whether to track circuit breaker states. Defaults to true .

IncludeDocumentCounts

Gets a value indicating whether to include document count metrics.

public bool IncludeDocumentCounts { get; init; }

Property Value

bool

A bool indicating whether to track document counts in operations. Defaults to false .

IncludeDuration

Gets a value indicating whether to include operation duration metrics.

public bool IncludeDuration { get; init; }

Property Value

bool

A bool indicating whether to track operation durations. Defaults to true .

IncludeRetryAttempts

Gets a value indicating whether to include retry attempt metrics.

public bool IncludeRetryAttempts { get; init; }

Property Value

bool

A bool indicating whether to track retry attempts. Defaults to true .

IncludeSuccessFailureRates

Gets a value indicating whether to include success/failure rate metrics.

public bool IncludeSuccessFailureRates { get; init; }

Property Value

bool

A bool indicating whether to track success and failure rates. Defaults to true .