Skip to content

Commit

Permalink
Add FileSettingsIndicator
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Nov 22, 2024
1 parent e9a5ad8 commit 9809b18
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions specification/_global/health_report/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class Indicators {
ilm?: IlmIndicator
slm?: SlmIndicator
shards_capacity?: ShardsCapacityIndicator
file_settings?: FileSettingsIndicator
}

export class BaseIndicator {
Expand Down Expand Up @@ -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
}

0 comments on commit 9809b18

Please sign in to comment.