Skip to content

Commit 4cde24d

Browse files
authored
Add 'dataset' size to cat indices and cat shards (#2840)
1 parent f84d689 commit 4cde24d

File tree

7 files changed

+159
-3
lines changed

7 files changed

+159
-3
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 35 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 70 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cat/indices/types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ export class IndicesRecord {
8989
*/
9090
'pri.store.size'?: string | null
9191

92+
/**
93+
* total size of dataset (including the cache for partially mounted indices)
94+
* @availability stack since=8.11.0 stability=stable
95+
* @availability serverless stability=stable visibility=public
96+
*/
97+
'dataset.size'?: string | null
98+
9299
/**
93100
* size of completion
94101
* @aliases cs,completionSize

specification/cat/shards/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ export class ShardsRecord {
5353
* @aliases sto
5454
*/
5555
'store'?: string | null
56+
/**
57+
* total size of dataset (including the cache for partially mounted indices)
58+
* @availability stack since=8.11.0 stability=stable
59+
* @availability serverless stability=stable visibility=public
60+
*/
61+
'dataset'?: string | null
5662
/**
5763
* The IP address of the node.
5864
*/

0 commit comments

Comments
 (0)