From 9809b18745eb0bd06fcd65ee5f8b64b2864e4461 Mon Sep 17 00:00:00 2001 From: Patrick Doyle Date: Fri, 22 Nov 2024 10:30:36 -0500 Subject: [PATCH] Add FileSettingsIndicator --- specification/_global/health_report/types.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/_global/health_report/types.ts b/specification/_global/health_report/types.ts index dd1de29637..24a3ae73bc 100644 --- a/specification/_global/health_report/types.ts +++ b/specification/_global/health_report/types.ts @@ -38,6 +38,7 @@ export class Indicators { ilm?: IlmIndicator slm?: SlmIndicator shards_capacity?: ShardsCapacityIndicator + file_settings?: FileSettingsIndicator } export class BaseIndicator { @@ -202,3 +203,14 @@ export class ShardsCapacityIndicatorTierDetail { max_shards_in_cluster: integer current_used_shards?: integer } + +/** FILE_SETTINGS **/ + +export class FileSettingsIndicator extends BaseIndicator { + details?: FileSettingsIndicatorDetails +} + +export class FileSettingsIndicatorDetails { + failure_streak: long + most_recent_failure: string +} \ No newline at end of file