Class ElasticsearchClusterHealth
- Namespace
- Excalibur.Data.ElasticSearch.Monitoring
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents comprehensive health information for an Elasticsearch cluster.
public sealed class ElasticsearchClusterHealth
- Inheritance
-
ElasticsearchClusterHealth
- Inherited Members
Properties
ActivePrimaryShards
Gets or sets the number of active primary shards.
public int? ActivePrimaryShards { get; set; }
Property Value
- int?
The number of active primary shards.
ActiveShards
Gets or sets the total number of active shards.
public int? ActiveShards { get; set; }
Property Value
- int?
The total number of active shards.
ActiveShardsPercentAsNumber
Gets or sets the percentage of active shards.
public double? ActiveShardsPercentAsNumber { get; set; }
Property Value
- double?
The percentage of active shards.
ClusterName
Gets or sets the cluster name.
public string? ClusterName { get; set; }
Property Value
- string
The cluster name.
DelayedUnassignedShards
Gets or sets the number of delayed unassigned shards.
public int? DelayedUnassignedShards { get; set; }
Property Value
- int?
The number of delayed unassigned shards.
ErrorMessage
Gets or sets the error message if the health check failed.
public string? ErrorMessage { get; set; }
Property Value
- string
The error message if the health check failed.
InitializingShards
Gets or sets the number of initializing shards.
public int? InitializingShards { get; set; }
Property Value
- int?
The number of initializing shards.
IsHealthy
Gets or sets a value indicating whether the cluster is considered healthy.
public bool IsHealthy { get; set; }
Property Value
- bool
A value indicating whether the cluster is considered healthy.
NodeCount
Gets or sets the total number of nodes (from cluster stats).
public int? NodeCount { get; set; }
Property Value
- int?
The total number of nodes (from cluster stats).
NumberOfDataNodes
Gets or sets the number of data nodes in the cluster.
public int? NumberOfDataNodes { get; set; }
Property Value
- int?
The number of data nodes in the cluster.
NumberOfInFlightFetch
Gets or sets the number of in-flight fetch operations.
public int? NumberOfInFlightFetch { get; set; }
Property Value
- int?
The number of in-flight fetch operations.
NumberOfNodes
Gets or sets the total number of nodes in the cluster.
public int? NumberOfNodes { get; set; }
Property Value
- int?
The total number of nodes in the cluster.
NumberOfPendingTasks
Gets or sets the number of pending tasks.
public int? NumberOfPendingTasks { get; set; }
Property Value
- int?
The number of pending tasks.
RelocatingShards
Gets or sets the number of relocating shards.
public int? RelocatingShards { get; set; }
Property Value
- int?
The number of relocating shards.
Status
Gets or sets the cluster health status.
public HealthStatus Status { get; set; }
Property Value
- HealthStatus
The cluster health status.
TaskMaxWaitingInQueueMillis
Gets or sets the maximum time a task has been waiting in the queue.
public long? TaskMaxWaitingInQueueMillis { get; set; }
Property Value
- long?
The maximum time a task has been waiting in the queue.
Timestamp
Gets or sets the timestamp when this health check was performed.
public DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
The timestamp when this health check was performed.
TotalDocuments
Gets or sets the total number of documents in the cluster.
public long? TotalDocuments { get; set; }
Property Value
- long?
The total number of documents in the cluster.
TotalSizeInBytes
Gets or sets the total size of the cluster in bytes.
public long? TotalSizeInBytes { get; set; }
Property Value
- long?
The total size of the cluster in bytes.
UnassignedShards
Gets or sets the number of unassigned shards.
public int? UnassignedShards { get; set; }
Property Value
- int?
The number of unassigned shards.