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
@@ -41,8 +41,10 @@ export class HealthResponseBody {
4141 active_primary_shards : integer
4242 /** The total number of active primary and replica shards. */
4343 active_shards : integer
44+ /** The ratio of active shards in the cluster expressed as a string formatted percentage. */
45+ active_shards_percent ?: string
4446 /** The ratio of active shards in the cluster expressed as a percentage. */
45- active_shards_percent_as_number : Percentage
47+ active_shards_percent_as_number : double
4648 /** The name of the cluster. */
4749 cluster_name : Name
4850 /** 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