File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
specification/cluster/health Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1919
2020import { Dictionary } from '@spec_utils/Dictionary'
2121import { HealthStatus , IndexName , Name } from '@_types/common'
22- import { integer , Percentage } from '@_types/Numeric'
22+ import { double , integer } from '@_types/Numeric'
2323import { Duration , DurationValue , UnitMillis } from '@_types/Time'
2424import { IndexHealthStats } from './types'
2525
@@ -42,8 +42,10 @@ export class HealthResponseBody {
4242 active_primary_shards : integer
4343 /** The total number of active primary and replica shards. */
4444 active_shards : integer
45+ /** The ratio of active shards in the cluster expressed as a string formatted percentage. */
46+ active_shards_percent ?: string
4547 /** The ratio of active shards in the cluster expressed as a percentage. */
46- active_shards_percent_as_number : Percentage
48+ active_shards_percent_as_number : double
4749 /** The name of the cluster. */
4850 cluster_name : Name
4951 /** The number of shards whose allocation has been delayed by the timeout settings. */
You can’t perform that action at this time.
0 commit comments