forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcat.allocation.yaml
53 lines (53 loc) · 2.32 KB
/
cat.allocation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
openapi: 3.1.0
info:
title: Schemas of cat.allocation category
description: Schemas of cat.allocation category
version: 1.0.0
paths: {}
components:
schemas:
AllocationRecord:
type: object
properties:
shards:
description: Number of primary and replica shards assigned to the node.
type: string
disk.indices:
description: |-
Disk space used by the node's shards. Does not include disk space for the translog or unassigned shards.
IMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.
type: ['null', string]
disk.used:
description: |-
Total disk space in use.
OpenSearch retrieves this metric from the node's operating system (OS).
The metric includes disk space for: OpenSearch, including the translog and unassigned shards; the node's operating system; any other applications or files on the node.
Unlike `disk.indices`, this metric does not double-count disk space for hard-linked files.
type: ['null', string]
disk.avail:
description: |-
Free disk space available to OpenSearch.
OpenSearch retrieves this metric from the node's operating system.
Disk-based shard allocation uses this metric to assign shards to nodes based on available disk space.
type: ['null', string]
disk.total:
description: Total disk space for the node, including in-use and available space.
type: ['null', string]
disk.percent:
description: Total percentage of disk space in use. Calculated as `disk.used / disk.total`.
oneOf:
- $ref: '_common.yaml#/components/schemas/PercentageString'
- type: 'null'
host:
description: Network host for the node. Set using the `network.host` setting.
oneOf:
- $ref: '_common.yaml#/components/schemas/Host'
- type: 'null'
ip:
description: IP address and port for the node.
oneOf:
- $ref: '_common.yaml#/components/schemas/Ip'
- type: 'null'
node:
description: Name for the node. Set using the `node.name` setting.
type: string